X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample1-client-wrapper%2Fclient.cpp;h=b9692d0144bddc5137e836523f63f1a58b85dffc;hp=86a2802cb8742dad8a861b80412a333f665955c2;hb=9a5d7790b094439b9a6f16983e20493c0e43ee02;hpb=393e7b700efffc748e593661b365ead414a341c1 diff --git a/examples-codegen/example1-client-wrapper/client.cpp b/examples-codegen/example1-client-wrapper/client.cpp index 86a2802..b9692d0 100644 --- a/examples-codegen/example1-client-wrapper/client.cpp +++ b/examples-codegen/example1-client-wrapper/client.cpp @@ -22,8 +22,6 @@ int main(int argc, char** argv) wraptype::set_connection(std::auto_ptr (new libt2n::ReconnectSocketWrapper("./socket"))); - std::string result; - // execute a function via t2n. The wrapper will open a connection to the server if none // exists or try to reconnect if the existing one doesn't answer std::cout << t2n_exec(&cmd_group_t2nexample_client::testfunc)("hello") << endl;