|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86772 - trunk/boost/thread/detail
From: vicente.botet_at_[hidden]
Date: 2013-11-19 17:00:56
Author: viboes
Date: 2013-11-19 17:00:56 EST (Tue, 19 Nov 2013)
New Revision: 86772
URL: http://svn.boost.org/trac/boost/changeset/86772
Log:
Thread: for explicit constructor for nullary_function.
Text files modified:
trunk/boost/thread/detail/nullary_function.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/thread/detail/nullary_function.hpp
==============================================================================
--- trunk/boost/thread/detail/nullary_function.hpp Tue Nov 19 16:58:59 2013 (r86771)
+++ trunk/boost/thread/detail/nullary_function.hpp 2013-11-19 17:00:56 EST (Tue, 19 Nov 2013) (r86772)
@@ -66,13 +66,13 @@
public:
BOOST_THREAD_MOVABLE(nullary_function)
- nullary_function(void (*f)()):
+ explicit nullary_function(void (*f)()):
impl(new impl_type_ptr(f))
{}
#ifdef BOOST_NO_CXX11_RVALUE_REFERENCES
template<typename F>
- nullary_function(F& f):
+ explicit nullary_function(F& f):
impl(new impl_type<F>(f))
{}
#endif
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