Skip to content

Commit

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

Co-authored-by: godexsoft <[email protected]>
  • Loading branch information
github-actions[bot] and godexsoft authored Feb 25, 2025
1 parent c9e8330 commit 918a92e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rpc/AMMHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include "rpc/AMMHelpers.hpp"

#include "data/AmendmentCenterInterface.hpp"
#include "data/BackendInterface.hpp"
#include "rpc/RPCHelpers.hpp"

Expand Down
3 changes: 2 additions & 1 deletion src/rpc/handlers/Ledger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <memory>
#include <optional>
#include <string>
#include <utility>

namespace rpc {

Expand Down Expand Up @@ -97,7 +98,7 @@ class LedgerHandler {
std::shared_ptr<BackendInterface> const& sharedPtrBackend,
std::shared_ptr<data::AmendmentCenterInterface const> amendmentCenter
)
: sharedPtrBackend_(sharedPtrBackend), amendmentCenter_(amendmentCenter)
: sharedPtrBackend_(sharedPtrBackend), amendmentCenter_(std::move(amendmentCenter))
{
}

Expand Down
1 change: 1 addition & 0 deletions src/rpc/handlers/Subscribe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include "rpc/handlers/Subscribe.hpp"

#include "data/AmendmentCenterInterface.hpp"
#include "data/BackendInterface.hpp"
#include "data/Types.hpp"
#include "feed/SubscriptionManagerInterface.hpp"
Expand Down
1 change: 1 addition & 0 deletions tests/unit/feed/TransactionFeedTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/Book.h>
#include <xrpl/protocol/Indexes.h>
#include <xrpl/protocol/Issue.h>
Expand Down
1 change: 1 addition & 0 deletions tests/unit/rpc/RPCHelpersTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <xrpl/basics/base_uint.h>
#include <xrpl/protocol/AccountID.h>
#include <xrpl/protocol/ErrorCodes.h>
#include <xrpl/protocol/Indexes.h>
#include <xrpl/protocol/LedgerFormats.h>
Expand Down

0 comments on commit 918a92e

Please sign in to comment.