Skip to content

Commit

Permalink
remove debug output, and cleanup after hierarchy builder
Browse files Browse the repository at this point in the history
  • Loading branch information
m-schuetz committed Nov 29, 2022
1 parent 8123da7 commit d9387d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 5 additions & 0 deletions Converter/include/HierarchyBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,11 @@ struct HierarchyBuilder{
f.close();
}

// redundant security check
if(iEndsWith(this->path, ".hierarchyChunks")){
fs::remove_all(this->path);
}

return;
}

Expand Down
8 changes: 0 additions & 8 deletions Converter/include/indexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,6 @@ namespace indexer{
fout.write(buffer.data_char, buffer.size);
fout.close();

{ // dbg
fstream fout(path + "/" + key + ".dbg.txt", ios::app | ios::out | ios::binary);
fout << ss.str();
fout.close();

// writeFile(path + "/" + key + ".dbg.txt", ss.str());
}

if(chunks.find(key) == chunks.end()){
chunks[key] = 0;
}
Expand Down

0 comments on commit d9387d5

Please sign in to comment.