Skip to content

Commit

Permalink
Remove unused headers, revert to fix "error C2440".
Browse files Browse the repository at this point in the history
  • Loading branch information
ryouze committed Sep 24, 2024
1 parent c0f2f35 commit 5599096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/core/io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <cstddef> // for std::size_t
#include <filesystem> // for std::filesystem
#include <stdexcept> // for std::runtime_error
#include <string> // for std::string
#include <vector> // for std::vector

Expand Down
3 changes: 2 additions & 1 deletion tests/test_all.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<char **>(fake_argv));

// Compare the filepaths found by Args
Expand Down

0 comments on commit 5599096

Please sign in to comment.