diff options
Diffstat (limited to 'raul')
-rw-r--r-- | raul/Atom.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Atom.hpp b/raul/Atom.hpp index 6b2ae92..92d0d07 100644 --- a/raul/Atom.hpp +++ b/raul/Atom.hpp @@ -71,7 +71,7 @@ public: } inline bool operator==(const Atom& other) const { - if (_type == other.type()) { + if (_type == other.type() && _size == other.size()) { if (is_reference()) { return !memcmp(_val._blob, other._val._blob, _size); } else { |