|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52812 - sandbox/boost0x/boost
From: bgreen0_at_[hidden]
Date: 2009-05-06 17:37:05
Author: bgreen
Date: 2009-05-06 17:37:03 EDT (Wed, 06 May 2009)
New Revision: 52812
URL: http://svn.boost.org/trac/boost/changeset/52812
Log:
minor cleanup
Text files modified:
sandbox/boost0x/boost/any.hpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: sandbox/boost0x/boost/any.hpp
==============================================================================
--- sandbox/boost0x/boost/any.hpp (original)
+++ sandbox/boost0x/boost/any.hpp 2009-05-06 17:37:03 EDT (Wed, 06 May 2009)
@@ -75,8 +75,7 @@
any & operator=(const any & rhs)
{
- any a(rhs);
- a.swap(*this);
+ any(rhs).swap(*this);
return *this;
}
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