Skip to content

Commit

Permalink
Remove unused this captures (hyperledger-iroha#1124)
Browse files Browse the repository at this point in the history
Signed-off-by: Kitsu <[email protected]>
  • Loading branch information
l4l authored and x3medima17 committed Mar 30, 2018
1 parent 1f29d6f commit 653c0df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/module/irohad/torii/processor/query_processor_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ TEST_F(QueryProcessorTest, QueryProcessorWhereInvokeInvalidQuery) {
EXPECT_CALL(*wsv_queries, getRolePermissions(role)).WillOnce(Return(perms));

auto wrapper = make_test_subscriber<CallExact>(qpi.queryNotifier(), 1);
wrapper.subscribe([this](auto response) {
wrapper.subscribe([](auto response) {
auto resp = response->get();
/// check if obtained response is error response
boost::apply_visitor(
[this](auto val) {
[](auto val) {
if (std::is_same<
decltype(val),
shared_model::detail::PolymorphicWrapper<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class TransactionProcessorTest : public ::testing::Test {
auto tx_status = status_map.find(tx.hash());
ASSERT_NE(tx_status, status_map.end());
boost::apply_visitor(
[this](auto val) {
[](auto val) {
if (std::is_same<decltype(val), Status>::value) {
SUCCEED();
} else {
Expand Down

0 comments on commit 653c0df

Please sign in to comment.