diff options
-rw-r--r-- | project2/common/variableConvert.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/project2/common/variableConvert.cpp b/project2/common/variableConvert.cpp index 2c6e49a..fb90c95 100644 --- a/project2/common/variableConvert.cpp +++ b/project2/common/variableConvert.cpp @@ -1,4 +1,5 @@ #include <pch.hpp> +#define BOOST_NO_CXX14_DECLTYPE_AUTO #include "variables.h" #include "exceptions.h" #include <boost/lexical_cast.hpp> @@ -193,6 +194,7 @@ class ConvertVisitorBool : public boost::static_visitor<bool> { } const VariableType * var; }; + VariableType::operator const Glib::ustring &() const { return boost::apply_visitor(ConvertVisitorGlibUstring(this), *this); @@ -237,3 +239,4 @@ VariableType::operator bool() const { return boost::apply_visitor(ConvertVisitorBool(this), *this); } + |