Skip to content

Commit fbbb4e3

Browse files
committed
style: Fix lint comments due to style changes
1 parent e9052bc commit fbbb4e3

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/etl/NFTHelpers.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ getNFTokenMintData(ripple::TxMeta const& txMeta, ripple::STTx const& sttx)
137137

138138
// Find the first NFT ID that doesn't match. We're looking for an
139139
// added NFT, so the one we want will be the mismatch in finalIDs.
140-
// NOLINTNEXTLINE(modernize-use-ranges)
141140
auto const diff = std::ranges::mismatch(finalIDs, prevIDs);
142141

143142
// There should always be a difference so the returned finalIDs

tests/unit/app/CliArgsTests.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ TEST_F(CliArgsTests, Parse_Config)
116116
{
117117
std::string_view configPath = "some_config_path";
118118
std::array argv{
119-
"clio_server", "--conf", configPath.data()
120-
}; // NOLINT(bugprone-suspicious-stringview-data-usage)
119+
"clio_server",
120+
"--conf",
121+
configPath.data() // NOLINT(bugprone-suspicious-stringview-data-usage)
122+
};
121123
auto const action = CliArgs::parse(argv.size(), argv.data());
122124

123125
int const returnCode = 123;
@@ -140,8 +142,10 @@ TEST_F(CliArgsTests, Parse_VerifyConfig)
140142
{
141143
std::string_view configPath = "some_config_path";
142144
std::array argv{
143-
"clio_server", configPath.data(), "--verify"
144-
}; // NOLINT(bugprone-suspicious-stringview-data-usage)
145+
"clio_server",
146+
configPath.data(),
147+
"--verify" // NOLINT(bugprone-suspicious-stringview-data-usage)
148+
};
145149
auto const action = CliArgs::parse(argv.size(), argv.data());
146150

147151
int const returnCode = 123;

tests/unit/web/RPCServerHandlerTests.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ struct MockWsBase : public web::ConnectionBase {
7070
}
7171

7272
void
73-
// NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
7473
send(
75-
std::string&& msg,
74+
std::string&& msg, // NOLINT(cppcoreguidelines-rvalue-reference-param-not-moved)
7675
boost::beast::http::status status = boost::beast::http::status::ok
7776
) override
7877
{

0 commit comments

Comments
 (0)