style: clang-tidy auto fixes (#1925)

Fixes #1924. Please review and commit clang-tidy fixes.

Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-02-25 09:29:24 +00:00
committed by GitHub
parent c9e8330e0a
commit 918a92eeee
5 changed files with 6 additions and 1 deletions

View File

@@ -36,6 +36,7 @@
#include <memory>
#include <optional>
#include <string>
#include <utility>
namespace rpc {
@@ -97,7 +98,7 @@ public:
std::shared_ptr<BackendInterface> const& sharedPtrBackend,
std::shared_ptr<data::AmendmentCenterInterface const> amendmentCenter
)
: sharedPtrBackend_(sharedPtrBackend), amendmentCenter_(amendmentCenter)
: sharedPtrBackend_(sharedPtrBackend), amendmentCenter_(std::move(amendmentCenter))
{
}