diff --git a/PystykorvaLib/Pystykorva.hpp b/PystykorvaLib/Pystykorva.hpp index 9324a1a..b5d0b0c 100644 --- a/PystykorvaLib/Pystykorva.hpp +++ b/PystykorvaLib/Pystykorva.hpp @@ -25,8 +25,9 @@ class Pystykorva uint64_t MinimumSize = 1; uint64_t MaximumSize = std::numeric_limits::max(); - std::chrono::time_point MinimumTime = std::chrono::file_clock::now() - std::chrono::years(1000); - std::chrono::time_point MaximumTime = std::chrono::file_clock::now() + std::chrono::years(1000); + // std::filesystem::last_write_time return some very odd crap on libstdc++12 + std::filesystem::file_time_type MinimumTime = std::filesystem::file_time_type() - std::chrono::years(200); + std::filesystem::file_time_type MaximumTime = std::filesystem::file_time_type() + std::chrono::years(2000); uint32_t MaximumThreads = std::thread::hardware_concurrency(); };