Skip to content

Commit

Permalink
fix: <format> isn't available everywhere either...
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperPaul123 committed Apr 26, 2024
1 parent 13b9c82 commit 99d2e15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/source/thread_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <thread_pool/version.h>

#include <algorithm>
#include <format>
#include <iostream>
#include <numeric>
#include <random>
Expand Down Expand Up @@ -451,7 +450,7 @@ TEST_CASE("Initialization function is called") {
std::atomic_int counter = 0;
{
dp::thread_pool pool(4, [&counter](std::size_t id) {
std::cout << std::format("Thread {} initialized\n", id);
std::cout << "Thread " << id << " initialized\n";
counter.fetch_add(1);
});
}
Expand Down

0 comments on commit 99d2e15

Please sign in to comment.