diff --git a/src/core/io.hpp b/src/core/io.hpp index 37b0b07..33f3e7d 100644 --- a/src/core/io.hpp +++ b/src/core/io.hpp @@ -8,7 +8,6 @@ #include // for std::size_t #include // for std::filesystem -#include // for std::runtime_error #include // for std::string #include // for std::vector diff --git a/tests/test_all.cpp b/tests/test_all.cpp index a97505a..54002bf 100644 --- a/tests/test_all.cpp +++ b/tests/test_all.cpp @@ -167,7 +167,8 @@ int test_args::paths() } // Store the string representation of the directory path - const char *fake_argv[] = {TEST_EXECUTABLE_NAME, temp_dir.get().c_str()}; + const std::string temp_dir_str = temp_dir.get().string(); + const char *fake_argv[] = {TEST_EXECUTABLE_NAME, temp_dir_str.c_str()}; const core::args::Args args(2, const_cast(fake_argv)); // Compare the filepaths found by Args