From c5cd3565d87b910bf5966d5e5c66ce722fcf25ae Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 24 Oct 2012 14:05:08 +0100 Subject: [PATCH] Fix compilation with clang. --- common/os_thread.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0