|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67095 - trunk/libs/signals2/test
From: fmhess_at_[hidden]
Date: 2010-12-07 21:34:23
Author: fmhess
Date: 2010-12-07 21:34:22 EST (Tue, 07 Dec 2010)
New Revision: 67095
URL: http://svn.boost.org/trac/boost/changeset/67095
Log:
Fixed bug in test due to accidental variable shadowing.
Text files modified:
trunk/libs/signals2/test/connection_test.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/signals2/test/connection_test.cpp
==============================================================================
--- trunk/libs/signals2/test/connection_test.cpp (original)
+++ trunk/libs/signals2/test/connection_test.cpp 2010-12-07 21:34:22 EST (Tue, 07 Dec 2010)
@@ -76,7 +76,7 @@
conn.disconnect();
// earlier release shouldn't affect new connection
- bs2::connection conn2 = sig.connect(&myslot);
+ conn2 = sig.connect(&myslot);
scoped = conn2;
}
BOOST_CHECK(conn2.connected() == false);
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