X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample1-client%2Fclient.cpp;h=cc71bb0063e3e0b26408e2f746a89b33a57e4e28;hp=d0a5ebe6110a5ad1ea92424e87ba85448260f3e2;hb=a63e08b83794273da3840e0b8bf15bf0085fe3c4;hpb=c7857475c8b0f02cac3ce29a617a4d542fa59f37 diff --git a/examples-codegen/example1-client/client.cpp b/examples-codegen/example1-client/client.cpp index d0a5ebe..cc71bb0 100644 --- a/examples-codegen/example1-client/client.cpp +++ b/examples-codegen/example1-client/client.cpp @@ -10,7 +10,7 @@ int main(int argc, char** argv) // if you want to connect to a tcp/ip server you pass the port and server name to the constructor libt2n::socket_client_connection sc("./socket"); // this generated class has a method for each of our exported procedures - cmd_group_t2nexample_client cc(sc); + cmd_group_t2nexample_client cc(&sc); bool throwok=false;