This commit is contained in:
gabime
2016-12-02 17:40:40 +02:00
parent 6d8efa8d7f
commit 5d23e88c16
4 changed files with 19 additions and 19 deletions

View File

@@ -316,7 +316,7 @@ inline size_t _thread_id()
inline size_t thread_id()
{
static thread_local const size_t tid = _thread_id();
return tid;
return tid;
}
@@ -364,7 +364,7 @@ inline std::string errno_str(int err_num)
#endif
}
inline int pid()
inline int pid()
{
#ifdef _WIN32