Skip to content

Commit 9f458f1

Browse files
committed
fix c++11 compiler warning
1 parent fb181b2 commit 9f458f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/sw/redis++/async_test.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void AsyncTest<RedisInstance>::_test_list() {
200200
});
201201
_wait();
202202

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

0 commit comments

Comments
 (0)