diff options
Diffstat (limited to 'src/optional.h')
-rw-r--r-- | src/optional.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/optional.h b/src/optional.h index a382cd7b77..252d56fd58 100644 --- a/src/optional.h +++ b/src/optional.h @@ -13,13 +13,6 @@ template <typename T> using Optional = boost::optional<T>; -//! Substitute for C++17 std::make_optional -template <typename T> -Optional<T> MakeOptional(bool condition, T&& value) -{ - return boost::make_optional(condition, std::forward<T>(value)); -} - //! Substitute for C++17 std::nullopt static auto& nullopt = boost::none; |