Skip to content

Commit

Permalink
style: clang-tidy auto fixes (#1817)
Browse files Browse the repository at this point in the history
Fixes #1816. Please review and commit clang-tidy fixes.

Co-authored-by: kuznetsss <[email protected]>
  • Loading branch information
github-actions[bot] and kuznetsss authored Jan 10, 2025
1 parent 590c07a commit c0d5272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions src/etlng/impl/Loading.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,7 @@
#include "util/Profiler.hpp"
#include "util/log/Logger.hpp"

#include <org/xrpl/rpc/v1/ledger.pb.h>
#include <xrpl/basics/Slice.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/basics/strHex.h>
#include <xrpl/proto/org/xrpl/rpc/v1/get_ledger.pb.h>
#include <xrpl/protocol/LedgerHeader.h>
#include <xrpl/protocol/STTx.h>
#include <xrpl/protocol/Serializer.h>
#include <xrpl/protocol/TxMeta.h>

#include <chrono>
#include <cstddef>
Expand Down
6 changes: 3 additions & 3 deletions src/util/async/Operation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ struct BasicScheduledOperation : util::MoveTracker {
{
}

~BasicScheduledOperation()
~BasicScheduledOperation() override
{
if (not wasMoved())
abort();
Expand Down Expand Up @@ -178,7 +178,7 @@ class StoppableOperation : public impl::BasicOperation<StoppableOutcome<RetType,
{
}

~StoppableOperation()
~StoppableOperation() override
{
if (not wasMoved())
requestStop();
Expand Down Expand Up @@ -243,7 +243,7 @@ class RepeatingOperation : public util::MoveTracker {
repeat_.start(interval, std::forward<decltype(fn)>(fn));
}

~RepeatingOperation()
~RepeatingOperation() override
{
if (not wasMoved())
abort();
Expand Down

0 comments on commit c0d5272

Please sign in to comment.