aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stable/string.cpp7
-rw-r--r--src/stable/string.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/stable/string.cpp b/src/stable/string.cpp
index dac690b..59d8147 100644
--- a/src/stable/string.cpp
+++ b/src/stable/string.cpp
@@ -644,6 +644,13 @@ Bu::String &Bu::String::operator=( const char *pData )
644 return (*this); 644 return (*this);
645} 645}
646 646
647Bu::String &Bu::String::operator=( const Bu::String &pData )
648{
649 set( pData );
650
651 return (*this);
652}
653
647Bu::String Bu::String::operator+( const Bu::String &rRight ) const 654Bu::String Bu::String::operator+( const Bu::String &rRight ) const
648{ 655{
649 String ret( *this ); 656 String ret( *this );
diff --git a/src/stable/string.h b/src/stable/string.h
index 89601a7..c469580 100644
--- a/src/stable/string.h
+++ b/src/stable/string.h
@@ -761,6 +761,8 @@ namespace Bu
761 * String. 761 * String.
762 */ 762 */
763 String &operator=( const char *pData ); 763 String &operator=( const char *pData );
764
765 String &operator=( const String &pData );
764 766
765 String operator+( const String &rRight ) const; 767 String operator+( const String &rRight ) const;
766 768