summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/value.hpp')
-rw-r--r--options/value.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/value.hpp b/options/value.hpp
index 887f0d39..1bf6820d 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -112,8 +112,8 @@ public:
operator t() const { return get(); }
- template<typename u, typename = decltype(static_cast<u>(std::declval<t>()))>
- explicit cc_forceinline operator u() const { return to<u>(); }
+ template<typename w, typename = decltype(static_cast<w>(std::declval<t>()))>
+ explicit cc_forceinline operator w() const { return to<w>(); }
auto operator->() const
{