From 9163d30c3c62598e4177d57e0fc088e74def1c66 Mon Sep 17 00:00:00 2001 From: dec05eba <0xdec05eba@gmail.com> Date: Tue, 15 May 2018 20:39:12 +0200 Subject: Allow storing user without nodes --- src/DataView.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/DataView.cpp') diff --git a/src/DataView.cpp b/src/DataView.cpp index b9cef47..a5232f3 100644 --- a/src/DataView.cpp +++ b/src/DataView.cpp @@ -7,4 +7,9 @@ namespace odhtdb { return size == other.size && memcmp(data, other.data, size) == 0; } + + bool DataView::operator != (const DataView &other) const + { + return !operator==(other); + } } -- cgit v1.2.3