summaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/value.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/value.hpp b/options/value.hpp
index 87bb2a85..c8fb02ca 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -103,7 +103,7 @@ public:
}
never_inline
- operator t() const { return std::forward<t>(get()); }
+ operator t() const { return get(); }
never_inline
t operator->() const
@@ -135,7 +135,7 @@ public:
never_inline
u to() const
{
- return static_cast<u>(std::forward<t>(get()));
+ return static_cast<u>(get());
}
private: