$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
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;
}