From ffcae32ea92343dea1cf981deb8a4c2a04a09348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dhiego=20Cassiano=20Foga=C3=A7a=20Barbosa?= Date: Tue, 6 Feb 2018 01:09:45 -0200 Subject: [PATCH] Fix narrowing conversion inside {} --- src/anbox/runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anbox/runtime.cpp b/src/anbox/runtime.cpp index cbfefa7..a97b673 100644 --- a/src/anbox/runtime.cpp +++ b/src/anbox/runtime.cpp @@ -53,7 +53,7 @@ std::shared_ptr Runtime::create(std::uint32_t pool_size) { Runtime::Runtime(std::uint32_t pool_size) : pool_size_{pool_size}, - service_{pool_size_}, + service_{static_cast(pool_size_)}, strand_{service_}, keep_alive_{service_} {}