summaryrefslogtreecommitdiffstats
path: root/redfish-core/include
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-12-10 15:17:59 -0800
committerEd Tanous <ed.tanous@intel.com>2018-12-10 23:22:37 +0000
commita24526dcf9ad8de2f0bd9dbd5fc746a130351a22 (patch)
treee107da3c21e2e96351c628098303c8394cf8fdce /redfish-core/include
parent750ceaec7441d99c6a037088a247ce3a9ea0e20f (diff)
downloadbmcweb-a24526dcf9ad8de2f0bd9dbd5fc746a130351a22.tar.gz
bmcweb-a24526dcf9ad8de2f0bd9dbd5fc746a130351a22.zip
bmcweb: Move boost::optional to std::optional
This change is largely a sed replace, and gets us closer to standards compliance. Change-Id: Ie60437eff43de830ef19389344a55430dabd9d16 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'redfish-core/include')
-rw-r--r--redfish-core/include/privileges.hpp1
-rw-r--r--redfish-core/include/utils/json_utils.hpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/redfish-core/include/privileges.hpp b/redfish-core/include/privileges.hpp
index 0f6b903..d5201f0 100644
--- a/redfish-core/include/privileges.hpp
+++ b/redfish-core/include/privileges.hpp
@@ -17,7 +17,6 @@
#include <bitset>
#include <boost/container/flat_map.hpp>
-#include <boost/optional.hpp>
#include <cstdint>
#include <vector>
diff --git a/redfish-core/include/utils/json_utils.hpp b/redfish-core/include/utils/json_utils.hpp
index 1d969e0..7ae8798 100644
--- a/redfish-core/include/utils/json_utils.hpp
+++ b/redfish-core/include/utils/json_utils.hpp
@@ -48,7 +48,7 @@ template <typename Type> struct is_optional : std::false_type
};
template <typename Type>
-struct is_optional<boost::optional<Type>> : std::true_type
+struct is_optional<std::optional<Type>> : std::true_type
{
};
OpenPOWER on IntegriCloud