diff options
Diffstat (limited to 'include/o3tl')
-rw-r--r-- | include/o3tl/typed_flags_set.hxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/o3tl/typed_flags_set.hxx b/include/o3tl/typed_flags_set.hxx index 4b6e4f5909b1..3e960035b61e 100644 --- a/include/o3tl/typed_flags_set.hxx +++ b/include/o3tl/typed_flags_set.hxx @@ -58,15 +58,9 @@ struct is_typed_flags { operator E() { return static_cast<E>(value_); } -#if !defined _MSC_VER || _MSC_VER > 1700 - explicit -#endif - operator typename underlying_type<E>::type() { return value_; } - -#if !defined _MSC_VER || _MSC_VER > 1700 - explicit -#endif - operator bool() { return value_ != 0; } + explicit operator typename underlying_type<E>::type() { return value_; } + + explicit operator bool() { return value_ != 0; } private: typename underlying_type<E>::type value_; |