Skip to content

Commit

Permalink
chore: add brace init in example
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperPaul123 committed Sep 29, 2023
1 parent 3e22869 commit 9e3d43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mandelbrot/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::future<std::vector<rgb>>> futures;
futures.reserve(source.height());
const auto start = std::chrono::steady_clock::now();
Expand Down

0 comments on commit 9e3d43b

Please sign in to comment.