diff options
-rw-r--r-- | lib/converters.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/converters.h b/lib/converters.h index 916124a6..87d5ad7e 100644 --- a/lib/converters.h +++ b/lib/converters.h @@ -76,7 +76,7 @@ namespace QMatrixClient bool omitted() const { return _omitted; } const T& value() const { return _value; } T& value() { return _value; } - T&& release() { _omitted = true; return std::move(value); } + T&& release() { _omitted = true; return std::move(_value); } operator bool() const { return !_omitted; } |