From 5ca1bd175cb9d2cc4f3aadd03fa588d87d5bde4a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 6 Apr 2018 11:30:10 +0100 Subject: C++17 Remove all boost things now in the standard library from exception. --- libadhocutil/exception.h | 4 ++-- 1 file 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 #include -#include +#include 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 msg; + mutable std::optional msg; }; typedef Exception StdException; } -- cgit v1.2.3