X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample1-client-wrapper%2Fclient.cpp;h=c4b3c9052d3ba9f59832fb4243b3f0a18147c4c3;hp=86a2802cb8742dad8a861b80412a333f665955c2;hb=a63e08b83794273da3840e0b8bf15bf0085fe3c4;hpb=393e7b700efffc748e593661b365ead414a341c1 diff --git a/examples-codegen/example1-client-wrapper/client.cpp b/examples-codegen/example1-client-wrapper/client.cpp index 86a2802..c4b3c90 100644 --- a/examples-codegen/example1-client-wrapper/client.cpp +++ b/examples-codegen/example1-client-wrapper/client.cpp @@ -22,11 +22,9 @@ 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; + std::cout << t2n_exec(&cmd_group_t2nexample_client::testfunc)("hello") << std::endl; return EXIT_SUCCESS; }