diff --git a/td/tl/tl_dotnet_object.h b/td/tl/tl_dotnet_object.h index e763eb61..33371fe0 100644 --- a/td/tl/tl_dotnet_object.h +++ b/td/tl/tl_dotnet_object.h @@ -118,7 +118,7 @@ struct CallFromUnmanaged { #endif template -inline ResT DoFromUnmanaged(T &from) { +ResT DoFromUnmanaged(T &from) { #if TD_WINRT ResT res; downcast_call(from, [&](auto &from_downcasted) { diff --git a/tdutils/td/utils/Slice.h b/tdutils/td/utils/Slice.h index a2f17a50..c3dea997 100644 --- a/tdutils/td/utils/Slice.h +++ b/tdutils/td/utils/Slice.h @@ -34,7 +34,7 @@ inline MutableSlice::MutableSlice(string &s) : MutableSlice() { } template -inline MutableSlice::MutableSlice(T s, std::enable_if_t::value, private_tag>) : s_(s) { +MutableSlice::MutableSlice(T s, std::enable_if_t::value, private_tag>) : s_(s) { CHECK(s_ != nullptr); len_ = std::strlen(s_); } @@ -159,13 +159,13 @@ inline Slice::Slice(const string &s) : s_(s.c_str()), len_(s.size()) { } template -inline Slice::Slice(T s, std::enable_if_t>::value, private_tag>) : s_(s) { +Slice::Slice(T s, std::enable_if_t>::value, private_tag>) : s_(s) { CHECK(s_ != nullptr); len_ = std::strlen(s_); } template -inline Slice::Slice(T s, std::enable_if_t>::value, private_tag>) +Slice::Slice(T s, std::enable_if_t>::value, private_tag>) : s_(s) { CHECK(s_ != nullptr); len_ = std::strlen(s_);