summaryrefslogtreecommitdiffhomepage
path: root/options/value.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-28 03:02:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commit6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b (patch)
tree9aeb1332980c4285396457ad9f278495064549b5 /options/value.hpp
parent3be3bb256f3e9362f8889f0532f875c5ad3b41fb (diff)
clang-tidy fixes only
Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever.
Diffstat (limited to 'options/value.hpp')
-rw-r--r--options/value.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/value.hpp b/options/value.hpp
index ea180b27..3a58f74c 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -110,7 +110,7 @@ public:
operator t() const { return get(); } // NOLINT
- template<typename w, typename = decltype(static_cast<w>(std::declval<t>()))>
+ template<typename w>
explicit cc_forceinline operator w() const { return to<w>(); }
auto operator->() const