make windows-compliant

- fix BS_thread_pool include error (pulls in windows.h, symbols were
redefined)
- remove all std::println uses :(, seems like mingw doesn't like those
- allow to disable backward from cmake
This commit is contained in:
2026-02-27 12:31:08 +01:00
parent 16df3b7d51
commit 85ed3a758a
11 changed files with 110 additions and 60 deletions

View File

@ -1,7 +1,6 @@
#include "puzzle.hpp"
#include "config.hpp"
#include <print>
#include <unordered_set>
#ifdef TRACY
@ -389,8 +388,9 @@ auto State::Closure() const
}
} while (remaining_states.size() > 0);
std::println("State space has size {} with {} transitions.", states.size(),
links.size());
std::cout << std::format("State space has size {} with {} transitions.",
states.size(), links.size())
<< std::endl;
return std::make_pair(states, links);
}