Skip to content

Commit

Permalink
Two more compile fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dillof committed Apr 16, 2024
1 parent a023b9a commit 3da1de7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/File.cc
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ void File::parse_subninja(Tokenizer& tokenizer) {
}

void File::add_generator_build(std::vector<Filename>& ninja_outputs, std::vector<Filename>& ninja_inputs) const { // NOLINT(misc-no-recursion)
ninja_outputs.emplace_back(Filename::Type::BUILD, build_filename);
ninja_inputs.emplace_back(Filename::Type::COMPLETE, source_filename);
ninja_outputs.emplace_back(Filename::Type::BUILD, build_filename.string());
ninja_inputs.emplace_back(Filename::Type::COMPLETE, source_filename.string());
for (const auto& file: subfiles) {
file->add_generator_build(ninja_outputs, ninja_inputs);
}
Expand Down

0 comments on commit 3da1de7

Please sign in to comment.