libt2n: (gerd) adapt codegen to new command_client interface, fix codegen-examples
[libt2n] / examples-codegen / example1-client / client.cpp
index d0a5ebe..cc71bb0 100644 (file)
@@ -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;