Skip to content

Commit

Permalink
Forgot .string()
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Dec 17, 2024
1 parent dff57ca commit 253637f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/oc/fileio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -542,9 +542,9 @@ static std::optional<std::string> search_hoc_files_regex(const std::regex& patte
std::vector<std::string> paths_hoc;
for (const auto& entry: fs::directory_iterator(path)) {
if (entry.is_regular_file() && entry.path().extension() == ".oc") {
paths_oc.push_back(entry.path());
paths_oc.push_back(entry.path().string());
} else if (entry.is_regular_file() && entry.path().extension() == ".hoc") {
paths_hoc.push_back(entry.path());
paths_hoc.push_back(entry.path().string());

Check warning on line 547 in src/oc/fileio.cpp

View check run for this annotation

Codecov / codecov/patch

src/oc/fileio.cpp#L541-L547

Added lines #L541 - L547 were not covered by tests
}
}
std::sort(paths_oc.begin(), paths_oc.end(), std::locale());
Expand Down

0 comments on commit 253637f

Please sign in to comment.