We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb181b2 commit 9f458f1Copy full SHA for 9f458f1
test/src/sw/redis++/async_test.h
@@ -200,7 +200,7 @@ void AsyncTest<RedisInstance>::_test_list() {
200
});
201
_wait();
202
203
- auto keys = std::initializer_list<std::string>{src, dest};
+ auto keys = {src, dest};
204
auto lmpop_res = _redis.template lmpop<std::vector<std::string>>(keys.begin(), keys.end(), ListWhence::LEFT).get();
205
REDIS_ASSERT(lmpop_res && lmpop_res->first == dest && lmpop_res->second.size() == 1, "failed to test async list: lmpop");
206
0 commit comments