From c3968651eb8a2ba66a95398f0571dd5afd37225c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 19 Dec 2022 20:15:27 +0200 Subject: [PATCH] Fix typos --- source/gnucompiler.cpp | 2 +- source/target.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gnucompiler.cpp b/source/gnucompiler.cpp index 3903c6a..2928cbf 100644 --- a/source/gnucompiler.cpp +++ b/source/gnucompiler.cpp @@ -72,7 +72,7 @@ Target *GnuCompiler::create_source(const FS::Path &path) const Target *GnuCompiler::create_target(const list &sources, const string &) { if(sources.size()!=1) - throw invalid_argument("GnuCCompiler::create_target"); + throw invalid_argument("GnuCompiler::create_target"); SourceFile &source = dynamic_cast(*sources.front()); ObjectFile *obj = new ObjectFile(builder, *source.get_component(), source); obj->set_tool(*this); diff --git a/source/target.cpp b/source/target.cpp index b741705..d21bda8 100644 --- a/source/target.cpp +++ b/source/target.cpp @@ -61,7 +61,7 @@ Target *Target::get_buildable_target() bool self_ok = state!=BUILDING; for(Target *d: depends) { - // Avoid infinite recursion if a target repends on its own side effect + // Avoid infinite recursion if a target depends on its own side effect if(any_equals(side_effects, d)) continue; -- 2.43.0