From b39edad306c3f5fe35d712ed5595200813c89a66 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 22 Oct 2011 21:19:57 +0200 Subject: [PATCH] clean-up some additional mentions of boost::ref --- src/lib/wrapper.hpp | 4 ++-- tests/components/proc/control/command-use2-test.cpp | 2 +- .../proc/mobject/session/session-modify-parts-test.cpp | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/lib/wrapper.hpp b/src/lib/wrapper.hpp index 8a7761263..d1065612f 100644 --- a/src/lib/wrapper.hpp +++ b/src/lib/wrapper.hpp @@ -64,7 +64,7 @@ namespace wrapper { /** - * Extension to boost::reference_wrapper: + * Extension to std::reference_wrapper: * Allows additionally to re-bind to another reference, * almost like a pointer. Helpful for building templates. * @warning potentially dangerous @@ -128,7 +128,7 @@ namespace wrapper { * A copyable, assignable value object, not managing ownership. * It can be default constructed and \c bool evaluated to detect * an empty holder. The value is retrieved pointer-like, by - * explicit dereferentiation. (Contrast this to boost::ref, + * explicit dereferentiation. (Contrast this to std::ref, * where the original reference is retrieved by conversion) * * The purpose of this template is to be able to remember diff --git a/tests/components/proc/control/command-use2-test.cpp b/tests/components/proc/control/command-use2-test.cpp index 29d5c6c90..8fec714fa 100644 --- a/tests/components/proc/control/command-use2-test.cpp +++ b/tests/components/proc/control/command-use2-test.cpp @@ -46,7 +46,7 @@ namespace test { using boost::str; using std::tr1::function; using std::tr1::bind; - using boost::ref; + using std::tr1::ref; using boost::lexical_cast; using util::contains; diff --git a/tests/components/proc/mobject/session/session-modify-parts-test.cpp b/tests/components/proc/mobject/session/session-modify-parts-test.cpp index 481e6f136..6d04accdd 100644 --- a/tests/components/proc/mobject/session/session-modify-parts-test.cpp +++ b/tests/components/proc/mobject/session/session-modify-parts-test.cpp @@ -34,11 +34,10 @@ #include "lib/query.hpp" #include -#include #include #include -using boost::ref; +using std::tr1::ref; using std::tr1::placeholders::_1; using util::isSameObject; using util::and_all;