]> git.tdb.fi Git - libs/datafile.git/commitdiff
Miscellaneous cleanups
authorMikko Rasa <tdb@tdb.fi>
Tue, 26 Mar 2013 20:37:37 +0000 (22:37 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 26 Mar 2013 20:37:37 +0000 (22:37 +0200)
source/loader.cpp
source/packsource.h

index 4a865067bdba8faaefe2c2b5f28984f58a57a4a1..c495c4cab71ed67b11d678e0cacaf02eec0bb312 100644 (file)
@@ -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))
        { }
 
index 10e1433279aaa36dee9b1dda39938af5ab6a42b2..18a5d3fa0f19e6530115e68a0850474edb029169 100644 (file)
@@ -23,7 +23,7 @@ class PackSource: public CollectionSource
 {
 private:
        class File;
-       struct Object;
+       class Object;
 
        typedef std::map<std::string, const File *> FileMap;
        typedef std::map<std::string, const Object *> ObjectMap;