mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix #4231 (wrong include guard) and an out-of-order construction warning
This commit is contained in:
@@ -39,7 +39,7 @@ public:
|
||||
std::unordered_set<uint256, beast::uhash<>> const& presets,
|
||||
std::optional<uint256> const& digest,
|
||||
STVector256 const& amendments)
|
||||
: presets_(presets), digest_(digest)
|
||||
: digest_(digest), presets_(presets)
|
||||
{
|
||||
set_.reserve(amendments.size());
|
||||
set_.insert(amendments.begin(), amendments.end());
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_RPC_BOOKCHANGES_H_INCLUDED
|
||||
#define RIPPLE_RPC_BOOKCAHNGES_H_INCLUDED
|
||||
#define RIPPLE_RPC_BOOKCHANGES_H_INCLUDED
|
||||
|
||||
namespace Json {
|
||||
class Value;
|
||||
|
||||
Reference in New Issue
Block a user