Catch up with Gearman's libtest
[m6w6/libmemcached] / example / t / memcached_light.cc
index e24d31c2350cdd47b6018eaf709aa5d0d869f780..b9c4e5fb5782f7e427a2e43cb9907cb1986c9927 100644 (file)
@@ -233,9 +233,9 @@ static bool world_destroy(void *object)
 
 void get_world(Framework *world)
 {
-  world->_create= world_create;
-  world->_destroy= world_destroy;
-  world->collections= collection;
+  world->create(world_create);
+  world->destroy(world_destroy);
+  world->collections(collection);
   world->set_runner(new MemcachedLightRunner);
 }