mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-24 15:40:26 +00:00
clang format
This commit is contained in:
@@ -665,7 +665,8 @@ TaggedCache<Key, T, IsKeyCache, SharedWeakUnionPointer, SharedPointerType, Hash,
|
||||
!IsKeyCache, "fetchAndModify is only supported for value caches, not key-only caches");
|
||||
static_assert(
|
||||
std::is_same_v<Mutex, std::recursive_mutex>,
|
||||
"fetchAndModify requires a recursive mutex because canonicalize re-acquires mutex_ internally");
|
||||
"fetchAndModify requires a recursive mutex because canonicalize re-acquires mutex_ "
|
||||
"internally");
|
||||
|
||||
std::scoped_lock const lock(mutex_);
|
||||
|
||||
|
||||
@@ -507,7 +507,8 @@ LedgerHistory::validatedLedger(
|
||||
mismatch = MismatchInputs{
|
||||
.built = entry.built.value(),
|
||||
.builtConsensusHash = entry.builtConsensusHash,
|
||||
.consensus = entry.consensus.value()}; // NOLINT(bugprone-unchecked-optional-access) consensus always emplaced with built
|
||||
.consensus = entry.consensus.value()}; // NOLINT(bugprone-unchecked-optional-access)
|
||||
// consensus always emplaced with built
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user