From 9a881ac796dd46b4bdde7f48d8003160c2242c2d Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 7 Oct 2018 00:55:59 +0200 Subject: fix GCC build errors Issue: #726 --- options/value-traits.hpp | 1 + options/value.hpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'options') diff --git a/options/value-traits.hpp b/options/value-traits.hpp index 3ab623da..31b6b534 100644 --- a/options/value-traits.hpp +++ b/options/value-traits.hpp @@ -5,6 +5,7 @@ #include +#include #include #include 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(std::declval()))> - explicit cc_forceinline operator u() const { return to(); } + template(std::declval()))> + explicit cc_forceinline operator w() const { return to(); } auto operator->() const { -- cgit v1.2.3