Fix [-Werror=reorder] (#852)

This commit is contained in:
An Tao 2021-05-15 14:09:24 +08:00 committed by GitHub
parent 74b3ca3db6
commit 63738bd578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ RedisClientLockFree::RedisClientLockFree(
: loop_(loop),
serverAddr_(serverAddress),
password_(std::move(password)),
numberOfConnections_(numberOfConnections),
db_(db)
db_(db),
numberOfConnections_(numberOfConnections)
{
assert(loop_);
for (size_t i = 0; i < numberOfConnections_; ++i)