Boost logo

Boost-Commit :

From: nielsdekker_at_[hidden]
Date: 2008-03-25 15:58:12


Author: niels_dekker
Date: 2008-03-25 15:58:11 EDT (Tue, 25 Mar 2008)
New Revision: 43859
URL: http://svn.boost.org/trac/boost/changeset/43859

Log:
Fixed syntax error in swap_test_class::operator= (missing return statement) -- double checked with the author, Joseph Gauterin
Text files modified:
   sandbox/swap/libs/utility/swap/test/swap_test_class.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: sandbox/swap/libs/utility/swap/test/swap_test_class.hpp
==============================================================================
--- sandbox/swap/libs/utility/swap/test/swap_test_class.hpp (original)
+++ sandbox/swap/libs/utility/swap/test/swap_test_class.hpp 2008-03-25 15:58:11 EDT (Tue, 25 Mar 2008)
@@ -32,6 +32,7 @@
   swap_test_class& operator=(const swap_test_class&)
   {
     ++copyCount();
+ return *this;
   }
 
   void swap(swap_test_class& other)


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