Skip to content

Commit

Permalink
fixup! [FOLD] Review feedback from @gregtatcam:
Browse files Browse the repository at this point in the history
  • Loading branch information
ximinez committed Sep 24, 2021
1 parent 37ac627 commit b35da48
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/ripple/protocol/impl/Feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
#include <boost/multi_index_container.hpp>
#include <cstring>

namespace boost {
namespace ripple {

enum class Supported : bool { no = false, yes };

inline std::size_t
hash_value(ripple::uint256 const& feature)
Expand All @@ -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*
//
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit b35da48

Please sign in to comment.