X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fcollection.cpp;fp=tests%2Fcollection.cpp;h=bb72c03fbba536f3cce42cf6cfdea6e52c9f45ba;hb=57dc9929879076398467ae16d349cd0d453737fe;hp=69aaf428c21a2c11d3fa4fce971eefacd95d7331;hpb=73fe535bd9eb26bc1f9fc8c6f232031d8245daf2;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(); }