Skip to content

Commit

Permalink
Simply code
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake-Madden committed Dec 14, 2024
1 parent 61ee5a0 commit 269dfab
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/analyze.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,7 @@ namespace i18n_check
return std::wstring{};
}();
#else
#if CHECK_GCC_VERSION(12, 2, 1)
std::wifstream ifs(std::filesystem::path(file).wstring());
#else
std::wifstream ifs(std::filesystem::path(file).string());
#endif
std::wifstream ifs(file);
const std::wstring str((std::istreambuf_iterator<wchar_t>(ifs)),
std::istreambuf_iterator<wchar_t>());
#endif
Expand Down

0 comments on commit 269dfab

Please sign in to comment.