From 96daa54ef47339fedadee310c3010cef5effb5f3 Mon Sep 17 00:00:00 2001 From: Edward Hennis Date: Tue, 20 Jul 2021 15:52:56 -0400 Subject: [PATCH] fixup! [FOLD] Review feedback from @gregtatcam: --- src/ripple/protocol/impl/Feature.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/ripple/protocol/impl/Feature.cpp b/src/ripple/protocol/impl/Feature.cpp index 90c8fa14aee..848c1f7921b 100644 --- a/src/ripple/protocol/impl/Feature.cpp +++ b/src/ripple/protocol/impl/Feature.cpp @@ -29,7 +29,9 @@ #include #include -namespace boost { +namespace ripple { + +enum class Supported : bool { no = false, yes }; inline std::size_t hash_value(ripple::uint256 const& feature) @@ -41,11 +43,6 @@ hash_value(ripple::uint256 const& feature) return seed; } -} // namespace boost -namespace ripple { - -enum class Supported : bool { no = false, yes }; - namespace detail { // *NOTE* // @@ -229,7 +226,7 @@ detail::FeatureCollections::registerFeature( } #endif - auto const& feature = features.emplace_back(name, f); + features.emplace_back(name, f); if (support == Supported::yes) {