|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75886 - trunk/libs/thread/src/win32
From: vicente.botet_at_[hidden]
Date: 2011-12-10 09:59:43
Author: viboes
Date: 2011-12-10 09:59:43 EST (Sat, 10 Dec 2011)
New Revision: 75886
URL: http://svn.boost.org/trac/boost/changeset/75886
Log:
Thread: Fix auto_ptr error
Text files modified:
trunk/libs/thread/src/win32/thread.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/thread/src/win32/thread.cpp
==============================================================================
--- trunk/libs/thread/src/win32/thread.cpp (original)
+++ trunk/libs/thread/src/win32/thread.cpp 2011-12-10 09:59:43 EST (Sat, 10 Dec 2011)
@@ -81,7 +81,7 @@
DWORD WINAPI ThreadProxy(LPVOID args)
{
- std::auto_ptr<ThreadProxyData> data=reinterpret_cast<ThreadProxyData*>(args);
+ std::auto_ptr<ThreadProxyData> data(reinterpret_cast<ThreadProxyData*>(args));
DWORD ret=data->start_address_(data->arglist_);
return ret;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk