Skip to content

Commit

Permalink
fix c++11 compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sewenew committed Oct 7, 2024
1 parent fb181b2 commit 703d57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/sw/redis++/async_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ void AsyncTest<RedisInstance>::_test_list() {
});
_wait();

auto keys = std::initializer_list<std::string>{src, dest};
auto keys = {src, dest};
auto lmpop_res = _redis.template lmpop<std::vector<std::string>>(keys.begin(), keys.end(), ListWhence::LEFT).get();
REDIS_ASSERT(lmpop_res && lmpop_res->first == dest && lmpop_res->second.size() == 1, "failed to test async list: lmpop");

Expand Down

0 comments on commit 703d57e

Please sign in to comment.