mirror of
https://github.com/XRPLF/rippled.git
synced 2026-10-01 01:08:03 +00:00
clang-tidy fixes: includes and explicit struct field names
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <xrpl/nodestore/Scheduler.h>
|
||||
#include <xrpl/protocol/Protocol.h>
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <xrpl/nodestore/Backend.h>
|
||||
#include <xrpl/nodestore/Database.h>
|
||||
#include <xrpl/nodestore/DatabaseRotating.h>
|
||||
#include <xrpl/nodestore/NodeObject.h>
|
||||
#include <xrpl/nodestore/Scheduler.h>
|
||||
#include <xrpl/protocol/Protocol.h>
|
||||
#include <xrpl/rdb/DatabaseCon.h>
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <xrpl/basics/ByteUtilities.h>
|
||||
#include <xrpl/protocol/PublicKey.h>
|
||||
#include <xrpl/protocol/messages.h>
|
||||
#include <xrpl/server/Manifest.h>
|
||||
|
||||
#include <google/protobuf/message.h>
|
||||
|
||||
@@ -1279,7 +1279,10 @@ OverlayImpl::getManifestsMessage()
|
||||
app_.getValidatorManifests().forEachManifest(
|
||||
[&cached](std::size_t s) { cached.reserve(s); },
|
||||
[&cached](Manifest const& manifest) {
|
||||
cached.push_back({manifest.masterKey, manifest.serialized, manifest.hash()});
|
||||
cached.push_back(
|
||||
{.masterKey = manifest.masterKey,
|
||||
.serialized = manifest.serialized,
|
||||
.hash = manifest.hash()});
|
||||
});
|
||||
|
||||
// Phase 2: no cache lock held, so trust checks are safe. Include every
|
||||
|
||||
Reference in New Issue
Block a user