|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86481 - trunk/libs/sync/test/run
From: andrey.semashev_at_[hidden]
Date: 2013-10-27 12:22:39
Author: andysem
Date: 2013-10-27 12:22:39 EDT (Sun, 27 Oct 2013)
New Revision: 86481
URL: http://svn.boost.org/trac/boost/changeset/86481
Log:
Fixed compilation with gcc.
Text files modified:
trunk/libs/sync/test/run/condition_test_common.hpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Modified: trunk/libs/sync/test/run/condition_test_common.hpp
==============================================================================
--- trunk/libs/sync/test/run/condition_test_common.hpp Sun Oct 27 12:11:25 2013 (r86480)
+++ trunk/libs/sync/test/run/condition_test_common.hpp 2013-10-27 12:22:39 EDT (Sun, 27 Oct 2013) (r86481)
@@ -22,8 +22,11 @@
{
bool const& flag;
- check_flag(bool const& flag_):
- flag(flag_)
+ explicit check_flag(bool const& flag_) : flag(flag_)
+ {
+ }
+
+ check_flag(check_flag const& that) : flag(that.flag)
{
}
@@ -32,7 +35,6 @@
return flag;
}
- BOOST_DELETED_FUNCTION(check_flag(check_flag const&))
BOOST_DELETED_FUNCTION(check_flag& operator=(check_flag const&))
};
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