mirror of
https://github.com/vimpunk/mio.git
synced 2025-12-12 06:30:01 +08:00
Inline s_2_ws and include <vector> for it
This commit is contained in:
parent
3f86a95c07
commit
25bb22b555
@ -26,6 +26,7 @@
|
||||
#include "mio/detail/string_util.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#ifndef _WIN32
|
||||
# include <unistd.h>
|
||||
@ -52,7 +53,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{};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user