From: José Fonseca Date: Wed, 24 Oct 2012 13:05:08 +0000 (+0100) Subject: Fix compilation with clang. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=c5cd3565d87b910bf5966d5e5c66ce722fcf25ae Fix compilation with clang. --- diff --git a/common/os_thread.hpp b/common/os_thread.hpp index bf4c8ea..3aeeee4 100644 --- a/common/os_thread.hpp +++ b/common/os_thread.hpp @@ -324,7 +324,7 @@ private: #endif template< class Function, class Arg > - explicit thread( Function& f, Arg & arg ) { + explicit thread( Function& f, Arg arg ) { #ifdef _WIN32 /* FIXME */ DWORD id = 0;