summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
Diffstat (limited to 'raul')
-rw-r--r--raul/Atom.hpp2
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 {