From: Mikko Rasa Date: Sun, 17 Jan 2021 10:51:10 +0000 (+0200) Subject: Minor style/typo fixes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=14f031aead619ce8a3fff1c283c3d205d421cd1f;p=libs%2Fdatafile.git Minor style/typo fixes --- diff --git a/source/loader.h b/source/loader.h index fe8f0aa..cf2b545 100644 --- a/source/loader.h +++ b/source/loader.h @@ -192,7 +192,7 @@ void load(T &obj, const std::string &fn, Args &... args) } /** -Loads an object from a file stored in a collection. The object must havea +Loads an object from a file stored in a collection. The object must have a public Loader class. The collection is passed to the Loader constructor, followed by any extra arguments. */ diff --git a/source/statement.cpp b/source/statement.cpp index 125c1d5..6d1c3b1 100644 --- a/source/statement.cpp +++ b/source/statement.cpp @@ -32,7 +32,7 @@ string Statement::get_location() const string Statement::get_signature() const { string result; - for(Arguments::const_iterator i = args.begin(); i!=args.end(); ++i) + for(Arguments::const_iterator i=args.begin(); i!=args.end(); ++i) result += i->get_signature(); return result; }