X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=examples-codegen%2Fexample1-client%2Fclient.cpp;fp=examples-codegen%2Fexample1-client%2Fclient.cpp;h=cc71bb0063e3e0b26408e2f746a89b33a57e4e28;hp=d0a5ebe6110a5ad1ea92424e87ba85448260f3e2;hb=f6d1a1e3b9d04b63158288ebf2917d9fd47afff8;hpb=b592218402bfa779c024da2f32c4c782d52eaf88 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;