]> git.tdb.fi Git - libs/datafile.git/commitdiff
Fix collection necessity detection
authorMikko Rasa <tdb@tdb.fi>
Sun, 15 Jan 2012 12:26:05 +0000 (14:26 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 15 Jan 2012 12:26:05 +0000 (14:26 +0200)
source/collection.h

index 8b4eba01b0fb5b83f4a1fdc936d6d327ba4bc971..021b714a934e05dbb190dd4b2b473f1607b160e6 100644 (file)
@@ -46,7 +46,7 @@ public:
                template<typename T> friend class CollectionItemType;
 
        private:
-               template<typename T, typename S, bool = NeedsCollection<T>::value >
+               template<typename T, typename S, bool = NeedsCollection<typename T::Loader>::value>
                struct Add;
 
                Collection &coll;