Skip to content

Commit

Permalink
Fixing clang compilation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
leoisl committed Nov 2, 2022
1 parent 987ebfb commit ecfcf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ int query(int argc, char** argv) {
std::vector<std::shared_ptr<cobs::IndexSearchFile> > indices;
if (index_sizes_was_given) {
for (const cobs::fs::path &index_path : index_paths) {
auto* stream = new std::ifstream(index_path);
auto* stream = new std::ifstream(index_path.string());
streams.push_back(stream);
}
indices = cobs::get_cobs_indexes_given_streams(streams, index_sizes);
Expand Down

0 comments on commit ecfcf51

Please sign in to comment.