diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-12-21 00:06:20 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-12-21 00:06:20 +0000 |
commit | 8642fe0ba100dee5a66265b07e21e043887a4a92 (patch) | |
tree | 25a0a32061a53d730d4af102c26e858b9a5344f4 /src/stable/list.h | |
parent | 6af2989d3abbe9ff64631df33f9f9e135274d90c (diff) | |
download | libbu++-8642fe0ba100dee5a66265b07e21e043887a4a92.tar.gz libbu++-8642fe0ba100dee5a66265b07e21e043887a4a92.tar.bz2 libbu++-8642fe0ba100dee5a66265b07e21e043887a4a92.tar.xz libbu++-8642fe0ba100dee5a66265b07e21e043887a4a92.zip |
Signals (slots really) are now comperable. Building two slots for the same
function or same object and method will compare as expected.
Also added a -= function to Bu::List which works just like erase.
Diffstat (limited to 'src/stable/list.h')
-rw-r--r-- | src/stable/list.h | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |