]> git.cworth.org Git - apitrace/commitdiff
os: Fix thread copy constructor.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 15 Nov 2012 13:35:08 +0000 (13:35 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 15 Nov 2012 13:35:08 +0000 (13:35 +0000)
common/os_thread.hpp

index 5e9577b56a29924b816abfc10fb16baf70a9bb14..9dc656eedce84798480de480b3fa1747e1da7c9b 100644 (file)
@@ -301,7 +301,7 @@ namespace os {
         }
 
         inline
-        thread(thread &other) :
+        thread(const thread &other) :
             _native_handle(other._native_handle)
         {
         }