aboutsummaryrefslogtreecommitdiff
path: root/src/stable/string.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2021-08-18 19:33:14 -0700
committerMike Buland <mike@xagasoft.com>2021-08-18 19:33:14 -0700
commit52833d24ba86c3e0fe90a12d65f6dc529e9280b7 (patch)
tree614f12bfc368925b6a40b211f31d2315b3f5ad90 /src/stable/string.cpp
parent0fbcc3a0c7ef4835c77c5d8b87cc8732cc3f90df (diff)
downloadlibbu++-52833d24ba86c3e0fe90a12d65f6dc529e9280b7.tar.gz
libbu++-52833d24ba86c3e0fe90a12d65f6dc529e9280b7.tar.bz2
libbu++-52833d24ba86c3e0fe90a12d65f6dc529e9280b7.tar.xz
libbu++-52833d24ba86c3e0fe90a12d65f6dc529e9280b7.zip
String was missing assignment?
Diffstat (limited to 'src/stable/string.cpp')
-rw-r--r--src/stable/string.cpp7
1 files changed, 7 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 );