]> git.tdb.fi Git - libs/datafile.git/commit - source/collection.cpp
Make Collection::contains check for type
authorMikko Rasa <tdb@tdb.fi>
Wed, 26 Sep 2012 16:04:33 +0000 (19:04 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 26 Sep 2012 16:07:00 +0000 (19:07 +0300)
commite249d648f6393fbb4b74e76c2a7b9eee9f1187f1
treec1c9f90f610b00d0ea11f5926d1ba01051407146
parentb48d1eb90c63e70b03519923dab5e123b11d91a4
Make Collection::contains check for type

Checking item existence without type information is not particularly
useful, since there's no guarantee that the object can be used for its
intended purpose.
source/collection.cpp
source/collection.h