|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50939 - sandbox/thread_safe_signals/trunk/boost/signals2
From: fmhess_at_[hidden]
Date: 2009-01-31 21:21:21
Author: fmhess
Date: 2009-01-31 21:21:21 EST (Sat, 31 Jan 2009)
New Revision: 50939
URL: http://svn.boost.org/trac/boost/changeset/50939
Log:
Made postconstructor_invoker constructor private.
Text files modified:
sandbox/thread_safe_signals/trunk/boost/signals2/deconstruct.hpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Modified: sandbox/thread_safe_signals/trunk/boost/signals2/deconstruct.hpp
==============================================================================
--- sandbox/thread_safe_signals/trunk/boost/signals2/deconstruct.hpp (original)
+++ sandbox/thread_safe_signals/trunk/boost/signals2/deconstruct.hpp 2009-01-31 21:21:21 EST (Sat, 31 Jan 2009)
@@ -52,9 +52,6 @@
class postconstructor_invoker
{
public:
- postconstructor_invoker(const shared_ptr<T> & sp):
- _sp(sp)
- {}
operator shared_ptr<T> () const
{
return postconstruct();
@@ -145,6 +142,10 @@
}
#endif // else defined( BOOST_HAS_VARIADIC_TMPL ) && defined( BOOST_HAS_RVALUE_REFS )
private:
+ friend class deconstruct_access;
+ postconstructor_invoker(const shared_ptr<T> & sp):
+ _sp(sp)
+ {}
shared_ptr<T> _sp;
};
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