From: Mikko Rasa Date: Tue, 26 Mar 2013 20:37:37 +0000 (+0200) Subject: Miscellaneous cleanups X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=4a728161f1a8a575ead2052acf67a0bdee237216;p=libs%2Fdatafile.git Miscellaneous cleanups --- diff --git a/source/loader.cpp b/source/loader.cpp index 4a86506..c495c4c 100644 --- a/source/loader.cpp +++ b/source/loader.cpp @@ -70,7 +70,7 @@ public: class invalid_signature: public runtime_error { public: - invalid_signature(const std::string &k, const std::string & s): + invalid_signature(const std::string &k, const std::string &s): runtime_error(format("%s %s", k, s)) { } diff --git a/source/packsource.h b/source/packsource.h index 10e1433..18a5d3f 100644 --- a/source/packsource.h +++ b/source/packsource.h @@ -23,7 +23,7 @@ class PackSource: public CollectionSource { private: class File; - struct Object; + class Object; typedef std::map FileMap; typedef std::map ObjectMap;