diff --git a/examples/mandelbrot/source/main.cpp b/examples/mandelbrot/source/main.cpp index 38147ad..8d5c417 100644 --- a/examples/mandelbrot/source/main.cpp +++ b/examples/mandelbrot/source/main.cpp @@ -20,7 +20,7 @@ void mandelbrot_threadpool(int image_width, int image_height, int max_iterations std::cout << "calculating mandelbrot" << std::endl; - dp::thread_pool pool; + dp::thread_pool pool{}; std::vector>> futures; futures.reserve(source.height()); const auto start = std::chrono::steady_clock::now();