diff options
-rw-r--r-- | libadhocutil/exception.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libadhocutil/exception.h b/libadhocutil/exception.h index 57ce7c3..bad9771 100644 --- a/libadhocutil/exception.h +++ b/libadhocutil/exception.h @@ -3,7 +3,7 @@ #include <exception> #include <string> -#include <boost/optional.hpp> +#include <optional> namespace AdHoc { /// Helper class for lazy creation of exception message text. @@ -27,7 +27,7 @@ namespace AdHoc { private: /// Message text provider. virtual std::string message() const throw() = 0; - mutable boost::optional<std::string> msg; + mutable std::optional<std::string> msg; }; typedef Exception<std::exception> StdException; } |