diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2021-08-18 22:11:41 -0700 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2021-08-18 22:11:41 -0700 |
| commit | 345926296f748db5ff283ce69c0ed4d563fcc8ff (patch) | |
| tree | 3aa50962107cb903bbf30bb2540c19d25bda5adf /src/stable/array.h | |
| parent | 52833d24ba86c3e0fe90a12d65f6dc529e9280b7 (diff) | |
| download | libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.gz libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.bz2 libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.tar.xz libbu++-345926296f748db5ff283ce69c0ed4d563fcc8ff.zip | |
Updating issues discovered using g++ 10
Diffstat (limited to 'src/stable/array.h')
| -rw-r--r-- | src/stable/array.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stable/array.h b/src/stable/array.h index b089bda..ca66213 100644 --- a/src/stable/array.h +++ b/src/stable/array.h | |||
| @@ -177,6 +177,14 @@ namespace Bu | |||
| 177 | return !(*this == src); | 177 | return !(*this == src); |
| 178 | } | 178 | } |
| 179 | 179 | ||
| 180 | MyType &operator=( const MyType &src ) | ||
| 181 | { | ||
| 182 | SharedCore<MyType, Core>::_softCopy( src ); | ||
| 183 | |||
| 184 | return *this; | ||
| 185 | } | ||
| 186 | |||
| 187 | |||
| 180 | /** | 188 | /** |
| 181 | * Clear the array. | 189 | * Clear the array. |
| 182 | */ | 190 | */ |
