X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fcollection.cpp;h=bb72c03fbba536f3cce42cf6cfdea6e52c9f45ba;hb=818ead7b6ccef1e4d2435cc959bc07f910fcde46;hp=69aaf428c21a2c11d3fa4fce971eefacd95d7331;hpb=3461239f03fd281092e81d0e264a0d5dab165415;p=libs%2Fdatafile.git diff --git a/tests/collection.cpp b/tests/collection.cpp index 69aaf42..bb72c03 100644 --- a/tests/collection.cpp +++ b/tests/collection.cpp @@ -140,7 +140,7 @@ Base::Loader::Loader(Base &b): TestCollection::TestCollection() { - add_type().keyword("foo").create(&TestCollection::create_foo); + add_type().keyword("foo").creator(&TestCollection::create_foo); add_type().keyword("bar"); add_type().keyword("sub").store_as(); }