summaryrefslogtreecommitdiff
path: root/common/os_thread.hpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-15 13:35:08 +0000
committerJosé Fonseca <jose.r.fonseca@gmail.com>2012-11-15 13:35:08 +0000
commit44d6e82ea0c10fe5c798b22fa25c2186dc77a6c0 (patch)
treeb8d3e25f8944a36683c3831c5bc57a33dd33a28c /common/os_thread.hpp
parent66ee52d87f1e740e3085dc481e2bd6a6dc41f279 (diff)
os: Fix thread copy constructor.
Diffstat (limited to 'common/os_thread.hpp')
-rw-r--r--common/os_thread.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/os_thread.hpp b/common/os_thread.hpp
index 5e9577b5..9dc656ee 100644
--- a/common/os_thread.hpp
+++ b/common/os_thread.hpp
@@ -301,7 +301,7 @@ namespace os {
}
inline
- thread(thread &other) :
+ thread(const thread &other) :
_native_handle(other._native_handle)
{
}