aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/fbasicstring.h4
-rw-r--r--src/sharedcore.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/fbasicstring.h b/src/fbasicstring.h
index a654d91..e38e300 100644
--- a/src/fbasicstring.h
+++ b/src/fbasicstring.h
@@ -1408,12 +1408,12 @@ namespace Bu
1408 * Assignment operator. 1408 * Assignment operator.
1409 *@param rSrc (const MyType &) The FString to set your FString to. 1409 *@param rSrc (const MyType &) The FString to set your FString to.
1410 */ 1410 */
1411 MyType &operator=( const MyType &rSrc ) 1411 /* MyType &operator=( const MyType &rSrc )
1412 { 1412 {
1413 set( rSrc ); 1413 set( rSrc );
1414 1414
1415 return (*this); 1415 return (*this);
1416 } 1416 } */
1417 1417
1418 /** 1418 /**
1419 * Equals comparison operator. 1419 * Equals comparison operator.
diff --git a/src/sharedcore.h b/src/sharedcore.h
index 046e973..3dcdc12 100644
--- a/src/sharedcore.h
+++ b/src/sharedcore.h
@@ -42,6 +42,9 @@ namespace Bu
42 42
43 SharedCore &operator=( const SharedCore &rhs ) 43 SharedCore &operator=( const SharedCore &rhs )
44 { 44 {
45 if( core == rhs.core )
46 return *this;
47
45 _softCopy( rhs ); 48 _softCopy( rhs );
46 return *this; 49 return *this;
47 } 50 }