mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-11 22:20:01 +08:00
Add inline specifier to s_2_ws() function
This commit is contained in:
parent
3f86a95c07
commit
cb5404c027
@ -52,7 +52,7 @@ inline DWORD int64_low(int64_t n) noexcept
|
||||
return n & 0xffffffff;
|
||||
}
|
||||
|
||||
std::wstring s_2_ws(const std::string& s)
|
||||
inline std::wstring s_2_ws(const std::string& s)
|
||||
{
|
||||
if (s.empty())
|
||||
return{};
|
||||
|
||||
@ -794,7 +794,7 @@ inline DWORD int64_low(int64_t n) noexcept
|
||||
return n & 0xffffffff;
|
||||
}
|
||||
|
||||
std::wstring s_2_ws(const std::string& s)
|
||||
inline std::wstring s_2_ws(const std::string& s)
|
||||
{
|
||||
if (s.empty())
|
||||
return{};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user