summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-07 00:55:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-07 00:55:59 +0200
commit9a881ac796dd46b4bdde7f48d8003160c2242c2d (patch)
tree82f37aee29046c2adce979a1ee1268c470f7276e /options/value.hpp
parent329a0e5a8d1d275fa7fa5533c8327139fc37e1ab (diff)
fix GCC build errors
Issue: #726
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
{