|
Boost-Commit : |
From: technews_at_[hidden]
Date: 2008-06-25 14:17:51
Author: turkanis
Date: 2008-06-25 14:17:51 EDT (Wed, 25 Jun 2008)
New Revision: 46689
URL: http://svn.boost.org/trac/boost/changeset/46689
Log:
added missing return statements in operator=
Text files modified:
trunk/boost/iostreams/detail/path.hpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/boost/iostreams/detail/path.hpp
==============================================================================
--- trunk/boost/iostreams/detail/path.hpp (original)
+++ trunk/boost/iostreams/detail/path.hpp 2008-06-25 14:17:51 EDT (Wed, 25 Jun 2008)
@@ -59,6 +59,7 @@
narrow_ = p.narrow_;
wide_ = p.wide_;
is_wide_ = p.is_wide_;
+ return *this;
}
// Assignment operator taking a std::string
@@ -67,6 +68,7 @@
narrow_ = p;
wide_.clear();
is_wide_ = false;
+ return *this;
}
// Assignment operator taking a C-style string
@@ -75,6 +77,7 @@
narrow_.assign(p);
wide_.clear();
is_wide_ = false;
+ return *this;
}
// Assignment operator taking a Boost.Filesystem path
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