diff options
Diffstat (limited to 'src/stable')
| -rw-r--r-- | src/stable/archive.h | 2 | ||||
| -rw-r--r-- | src/stable/list.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/stable/archive.h b/src/stable/archive.h index f98402d..5c3a055 100644 --- a/src/stable/archive.h +++ b/src/stable/archive.h | |||
| @@ -129,7 +129,7 @@ namespace Bu | |||
| 129 | private: | 129 | private: |
| 130 | Stream &rStream; | 130 | Stream &rStream; |
| 131 | uint32_t nNextID; | 131 | uint32_t nNextID; |
| 132 | Hash<uint32_t,uint32_t> hPtrID; | 132 | Hash<uint32_t,ptrdiff_t> hPtrID; |
| 133 | Hash<uint32_t,List<void **> > hPtrDest; | 133 | Hash<uint32_t,List<void **> > hPtrDest; |
| 134 | Hash<Bu::String, Variant> hProps; | 134 | Hash<Bu::String, Variant> hProps; |
| 135 | }; | 135 | }; |
diff --git a/src/stable/list.h b/src/stable/list.h index b7fb1d1..0b6329c 100644 --- a/src/stable/list.h +++ b/src/stable/list.h | |||
| @@ -250,6 +250,11 @@ namespace Bu | |||
| 250 | return *this; | 250 | return *this; |
| 251 | } | 251 | } |
| 252 | 252 | ||
| 253 | MyType &operator-=( const value &v ) | ||
| 254 | { | ||
| 255 | return erase( v ); | ||
| 256 | } | ||
| 257 | |||
| 253 | MyType &operator+=( const MyType &src ) | 258 | MyType &operator+=( const MyType &src ) |
| 254 | { | 259 | { |
| 255 | _hardCopy(); | 260 | _hardCopy(); |
