Catch up with Gearman's libtest
[m6w6/libmemcached] / tests / hashkit_functions.cc
index 908ad9605cc247ddc75f302654875b6fed3cd9f9..4934b55b45c018aba451b8a37058624172ee0fd0 100644 (file)
@@ -40,7 +40,6 @@
 
 using namespace libtest;
 
-#include <cassert>
 #include <cstdio>
 #include <cstdlib>
 #include <cstring>
@@ -565,7 +564,7 @@ static bool world_destroy(void *object)
 
 void get_world(Framework *world)
 {
-  world->collections= collection;
-  world->_create= world_create;
-  world->_destroy= world_destroy;
+  world->collections(collection);
+  world->create(world_create);
+  world->destroy(world_destroy);
 }