Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Thrift Wiki" for change 
notification.

The "ThriftUsageC++" page has been changed by DaleJohnson.
http://wiki.apache.org/thrift/ThriftUsageC%2B%2B?action=diff&rev1=15&rev2=16

--------------------------------------------------

    transport->open();
    DocInstance doc;
    if (argc == 2) {
+     uint32_t docid(atoi(argv[1]));
-     client.get(doc, atoi(argv[1]));
+     client.get(doc, docid);
      // do something (important) with 'doc' now
    }
    transport->close();

Reply via email to