mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 02:25:53 +00:00
Prefer std::optional over boost:optional:
Some of the boost::optionals must remain for now. Both boost::beast and SOCI have interfaces that require boost::optional.
This commit is contained in:
committed by
Nik Bougalis
parent
85307b29d0
commit
3b33318dc8
@@ -22,9 +22,9 @@
|
||||
|
||||
#include <ripple/basics/base_uint.h>
|
||||
#include <boost/container/flat_map.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
||||
/**
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
return sizeof(featureNames) / sizeof(featureNames[0]);
|
||||
}
|
||||
|
||||
boost::optional<uint256>
|
||||
std::optional<uint256>
|
||||
getRegisteredFeature(std::string const& name) const;
|
||||
|
||||
std::size_t
|
||||
@@ -147,7 +147,7 @@ supportedAmendments();
|
||||
|
||||
} // namespace detail
|
||||
|
||||
boost::optional<uint256>
|
||||
std::optional<uint256>
|
||||
getRegisteredFeature(std::string const& name);
|
||||
|
||||
size_t
|
||||
|
||||
Reference in New Issue
Block a user