mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-28 07:48:01 +00:00
chore: Enable modernize-avoid-bind (#7711)
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include <xrpl/protocol/ErrorCodes.h>
|
||||
#include <xrpl/protocol/jss.h>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
@@ -353,7 +352,7 @@ public:
|
||||
run() override
|
||||
{
|
||||
testBadInput();
|
||||
forAllApiVersions(std::bind_front(&TransactionEntry_test::testRequest, this));
|
||||
forAllApiVersions([this](unsigned apiVersion) { testRequest(apiVersion); });
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user