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:
@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user