diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-12 15:58:19 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2019-02-15 07:47:12 +0900 |
commit | 1c83d54f705ad786e4a27aaab94e3a0af725a07c (patch) | |
tree | ef97a051315a94fc8cd420504cd60178988ac403 /lib | |
parent | 63e2c0338e07cbc1939a5ad0f8047a9edab9b97c (diff) | |
download | libquotient-1c83d54f705ad786e4a27aaab94e3a0af725a07c.tar.gz libquotient-1c83d54f705ad786e4a27aaab94e3a0af725a07c.zip |
Omittable: disallow implicit conversion to value_type altogether
Because it works, and fails, in surprising ways. And none of the code uses it, as of now.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -159,7 +159,6 @@ namespace QMatrixClient } value_type&& release() { _omitted = true; return std::move(_value); } - operator const value_type&() const & { return value(); } const value_type* operator->() const & { return &value(); } value_type* operator->() & { return &editValue(); } const value_type& operator*() const & { return value(); } |