From: José Fonseca Date: Thu, 15 Nov 2012 13:35:08 +0000 (+0000) Subject: os: Fix thread copy constructor. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=44d6e82ea0c10fe5c798b22fa25c2186dc77a6c0;hp=66ee52d87f1e740e3085dc481e2bd6a6dc41f279;p=apitrace os: Fix thread copy constructor. --- diff --git a/common/os_thread.hpp b/common/os_thread.hpp index 5e9577b..9dc656e 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) { }