diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-07-31 05:18:21 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-07-31 05:18:21 +0000 |
commit | 7d3b21eb3338a6e7425d0f88916694692ebc28c2 (patch) | |
tree | e1f9a137e699b0f1a6b6a9ee5bcc2952240843ae /src/unstable/uuid.cpp | |
parent | 630b75aadac4ed6c5e71fb79cbca2ac435abbf83 (diff) | |
download | libbu++-7d3b21eb3338a6e7425d0f88916694692ebc28c2.tar.gz libbu++-7d3b21eb3338a6e7425d0f88916694692ebc28c2.tar.bz2 libbu++-7d3b21eb3338a6e7425d0f88916694692ebc28c2.tar.xz libbu++-7d3b21eb3338a6e7425d0f88916694692ebc28c2.zip |
Uuid had an == operator but not !=
Diffstat (limited to 'src/unstable/uuid.cpp')
-rw-r--r-- | src/unstable/uuid.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/unstable/uuid.cpp b/src/unstable/uuid.cpp index 0257270..aef8bc0 100644 --- a/src/unstable/uuid.cpp +++ b/src/unstable/uuid.cpp | |||
@@ -139,6 +139,11 @@ bool Bu::Uuid::operator==( const Uuid &rhs ) const | |||
139 | return memcmp( data, rhs.data, 16 ) == 0; | 139 | return memcmp( data, rhs.data, 16 ) == 0; |
140 | } | 140 | } |
141 | 141 | ||
142 | bool Bu::Uuid::operator!=( const Uuid &rhs ) const | ||
143 | { | ||
144 | return !(*this == rhs); | ||
145 | } | ||
146 | |||
142 | Bu::Uuid &Bu::Uuid::operator=( const Uuid &rhs ) | 147 | Bu::Uuid &Bu::Uuid::operator=( const Uuid &rhs ) |
143 | { | 148 | { |
144 | memcpy( data, rhs.data, 16 ); | 149 | memcpy( data, rhs.data, 16 ); |