X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcollection.h;h=69d631fa9dfa59b78362d69e2c830783a86ff725;hb=7df5e45c7f414f6a07681dc4ec2abb63b091a309;hp=fa3a7de9dbe25441417f988fbe16a5235cbf638d;hpb=d84673be1c2fe8bd32ddaa7877529855cad6daa0;p=libs%2Fdatafile.git diff --git a/source/collection.h b/source/collection.h index fa3a7de..69d631f 100644 --- a/source/collection.h +++ b/source/collection.h @@ -1,13 +1,7 @@ -/* $Id$ - -This file is part of libmspdatafile -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_DATAFILE_COLLECTION_H_ #define MSP_DATAFILE_COLLECTION_H_ +#include #include #include "loader.h" @@ -31,14 +25,6 @@ struct NeedsCollection enum { result=(sizeof(f(0))==sizeof(Yes)) }; }; -template -struct RemoveConst -{ typedef T Type; }; - -template -struct RemoveConst -{ typedef T Type; }; - /** A collection of objects that can be loaded from a datafile. Each object is identified by a name, which must be unique across the entire collection. @@ -121,7 +107,7 @@ private: template struct ItemCreatorBridge: public ItemCreatorBase { - virtual S *create(Collection &, const std::string &) const =0; + virtual S *create(Collection &, const std::string &) const = 0; }; template