mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-28 15:07:54 +00:00
Fix build error
This commit is contained in:
@@ -25,7 +25,7 @@ allFeatures()
|
||||
auto const& sa = allAmendments();
|
||||
std::vector<uint256> feats;
|
||||
feats.reserve(sa.size());
|
||||
for (auto const& [name, [[maybe_unused]] _] : sa)
|
||||
for ([[maybe_unused]] auto const& [name, _] : sa)
|
||||
{
|
||||
if (auto const f = getRegisteredFeature(name); f.has_value())
|
||||
feats.push_back(*f);
|
||||
|
||||
Reference in New Issue
Block a user