Add inline specifier to s_2_ws() function

This commit is contained in:
Francis Hart 2021-02-07 15:19:06 +02:00
parent 3f86a95c07
commit cb5404c027
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ inline DWORD int64_low(int64_t n) noexcept
return n & 0xffffffff; 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()) if (s.empty())
return{}; return{};

View File

@ -794,7 +794,7 @@ inline DWORD int64_low(int64_t n) noexcept
return n & 0xffffffff; 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()) if (s.empty())
return{}; return{};