mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Remove unused capture in lambdas
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
|||||||
{
|
{
|
||||||
SerialIter sit{payload1, sizeof(payload1)};
|
SerialIter sit{payload1, sizeof(payload1)};
|
||||||
auto stx = std::make_shared<ripple::STValidation>(sit,
|
auto stx = std::make_shared<ripple::STValidation>(sit,
|
||||||
[this](PublicKey const& pk) {
|
[](PublicKey const& pk) {
|
||||||
return calcNodeID(pk);
|
return calcNodeID(pk);
|
||||||
}, false);
|
}, false);
|
||||||
fail("An exception should have been thrown");
|
fail("An exception should have been thrown");
|
||||||
@@ -82,7 +82,7 @@ public:
|
|||||||
{
|
{
|
||||||
SerialIter sit{payload2, sizeof(payload2)};
|
SerialIter sit{payload2, sizeof(payload2)};
|
||||||
auto stx = std::make_shared<ripple::STValidation>(sit,
|
auto stx = std::make_shared<ripple::STValidation>(sit,
|
||||||
[this](PublicKey const& pk) {
|
[](PublicKey const& pk) {
|
||||||
return calcNodeID(pk);
|
return calcNodeID(pk);
|
||||||
}, false);
|
}, false);
|
||||||
fail("An exception should have been thrown");
|
fail("An exception should have been thrown");
|
||||||
@@ -96,7 +96,7 @@ public:
|
|||||||
{
|
{
|
||||||
SerialIter sit{payload3, sizeof(payload3)};
|
SerialIter sit{payload3, sizeof(payload3)};
|
||||||
auto stx = std::make_shared<ripple::STValidation>(sit,
|
auto stx = std::make_shared<ripple::STValidation>(sit,
|
||||||
[this](PublicKey const& pk) {
|
[](PublicKey const& pk) {
|
||||||
return calcNodeID(pk);
|
return calcNodeID(pk);
|
||||||
}, false);
|
}, false);
|
||||||
fail("An exception should have been thrown");
|
fail("An exception should have been thrown");
|
||||||
|
|||||||
Reference in New Issue
Block a user