diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-05 18:18:12 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-05 18:18:12 +0200 |
| commit | 7543163a4da54f7b9ca9813fc425baebdcaa2da9 (patch) | |
| tree | 94c4eba7fbd72c4f272895e1d9536a7884cfb5da /test/unit_tests/fixtures.hpp | |
| parent | use regular `throw` instead of the Boost function (diff) | |
| download | winapi-debug-7543163a4da54f7b9ca9813fc425baebdcaa2da9.tar.gz winapi-debug-7543163a4da54f7b9ca9813fc425baebdcaa2da9.zip | |
upgrade to std::filesystem
Diffstat (limited to 'test/unit_tests/fixtures.hpp')
| -rw-r--r-- | test/unit_tests/fixtures.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp index 791ad01..8fe7e91 100644 --- a/test/unit_tests/fixtures.hpp +++ b/test/unit_tests/fixtures.hpp @@ -11,7 +11,6 @@ #include <winapi/debug.hpp> -#include <boost/filesystem.hpp> #include <boost/test/unit_test.hpp> #include <iterator> @@ -115,7 +114,7 @@ private: dbghelp.load_pdb(pdb_path); } - static boost::filesystem::path get_module_pdb_path() { + static std::filesystem::path get_module_pdb_path() { // That's pretty ad-hoc, but seems to work; based on // https://www.boost.org/doc/libs/1_70_0/libs/test/doc/html/boost_test/runtime_config/custom_command_line_arguments.html BOOST_TEST_REQUIRE(boost::unit_test::framework::master_test_suite().argc == 3); |
