diff options
Diffstat (limited to 'src/sharedcore.h')
| -rw-r--r-- | src/sharedcore.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 | } |
