From 3da1de7df84fd72764b2a15aec665dee61cb957d Mon Sep 17 00:00:00 2001 From: Dieter Baron Date: Tue, 16 Apr 2024 12:25:05 +0200 Subject: [PATCH] Two more compile fixes. --- src/File.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/File.cc b/src/File.cc index 7e1d4eb..6ff4cb4 100644 --- a/src/File.cc +++ b/src/File.cc @@ -288,8 +288,8 @@ void File::parse_subninja(Tokenizer& tokenizer) { } void File::add_generator_build(std::vector& ninja_outputs, std::vector& 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); }