X-Git-Url: http://git.tdb.fi/?p=libs%2Fdatafile.git;a=blobdiff_plain;f=source%2Fcollection.h;h=38d93213b770a167ab606f9760dc9d2fe1d50b65;hp=87af3a2c2c606cde35d00abd8a20bf092744e19d;hb=e1b8089be727f651fc2022d6e7ff775047730e85;hpb=e6d66163e377f6a0761c687913ebf8624508401e diff --git a/source/collection.h b/source/collection.h index 87af3a2..38d9321 100644 --- a/source/collection.h +++ b/source/collection.h @@ -3,6 +3,7 @@ #include #include +#include #include #include "collectionsource.h" #include "loader.h" @@ -49,7 +50,7 @@ that are not present. Items retrieted from the fallback collection are shared between the collections, and are only deleted when all collections in the chain have been destroyed. */ -class Collection +class Collection: private NonCopyable { public: /** @@ -91,8 +92,6 @@ private: SourceList sources; Collection *fallback; - Collection(const Collection &); - Collection &operator=(const Collection &); public: Collection(); virtual ~Collection();