op= fix from Mark Bartosik

[SVN r33095]
This commit is contained in:
Beman Dawes
2006-02-23 21:30:33 +00:00
parent 897bbc0706
commit 807d6098c6

View File

@@ -249,8 +249,10 @@ namespace boost
~basic_path() {}
// assignments
basic_path & operator=( const string_type & s ) { m_path=""; operator/=( s ); return *this; }
basic_path & operator=( const value_type * s ) { m_path=""; operator/=( s ); return *this; }
basic_path & operator=( const string_type & s )
{ m_path.clear(); operator/=( s ); return *this; }
basic_path & operator=( const value_type * s )
{ m_path.clear(); operator/=( s ); return *this; }
# ifndef BOOST_NO_MEMBER_TEMPLATES
template <class InputIterator>
basic_path & assign( InputIterator first, InputIterator last )