summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/value.hpp')
-rw-r--r--options/value.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/options/value.hpp b/options/value.hpp
index c5ccd0dc..248e9a9c 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -140,7 +140,6 @@ class value final : public base_value
public:
using element_type = detail::value_element_type_t<t>;
- // XXX pointer comparison is wrong, need typeid since is_equal in one module doesn't equal in another!
static bool is_equal(const QVariant& val1, const QVariant& val2)
{
return val1.value<element_type>() == val2.value<element_type>();