From: Mikko Rasa Date: Mon, 19 Dec 2022 18:15:27 +0000 (+0200) Subject: Fix typos X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=c3968651eb8a2ba66a95398f0571dd5afd37225c;p=builder.git Fix typos --- 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;