X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=example%2Ft%2Fmemcached_light.cc;h=b9c4e5fb5782f7e427a2e43cb9907cb1986c9927;hb=23bbe3972dada1e21493437ba64be129e86b59fc;hp=bcfce0a52a19e3bdc350fe28ad64c9c562698510;hpb=6dab4c45effc85493d9e097d0df3446e202f3e8e;p=m6w6%2Flibmemcached diff --git a/example/t/memcached_light.cc b/example/t/memcached_light.cc index bcfce0a5..b9c4e5fb 100644 --- a/example/t/memcached_light.cc +++ b/example/t/memcached_light.cc @@ -166,8 +166,6 @@ public: } }; -static MemcachedLightRunner defualt_libmemcached_runner; - test_st cmdline_option_TESTS[] ={ {"--help", true, help_TEST }, {"--verbose", true, verbose_TEST }, @@ -235,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->set_runner(&defualt_libmemcached_runner); + world->create(world_create); + world->destroy(world_destroy); + world->collections(collection); + world->set_runner(new MemcachedLightRunner); }