Fix narrowing conversion inside {}

This commit is contained in:
Dhiego Cassiano Fogaça Barbosa 2018-02-06 01:09:45 -02:00 committed by GitHub
commit ffcae32ea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ std::shared_ptr<Runtime> Runtime::create(std::uint32_t pool_size) {
Runtime::Runtime(std::uint32_t pool_size)
: pool_size_{pool_size},
service_{pool_size_},
service_{static_cast<int>(pool_size_)},
strand_{service_},
keep_alive_{service_} {}