Changeset 92:e3a0abb22ef4 in xplra for src/client/c/hu/varadiistvan/xplra/xplra.cc
- Timestamp:
- 09/21/17 17:00:26 (7 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/c/hu/varadiistvan/xplra/xplra.cc
r87 r92 59 59 using std::vector; 60 60 using std::set; 61 using std:: auto_ptr;61 using std::unique_ptr; 62 62 63 63 //------------------------------------------------------------------------------ … … 488 488 { 489 489 try { 490 auto_ptr<Connection> connection(new Connection());490 unique_ptr<Connection> connection(new Connection()); 491 491 connection->connect(); 492 492 return ConnectionSlot::addValue(connection.release()); … … 498 498 //------------------------------------------------------------------------------ 499 499 500 extern "C" int xplra_get_versions(int connectionID,501 int* xplaneVersion, int* xplmVersion,502 int* xplraVersion)500 extern "C" int xplra_get_versions(int connectionID, 501 int* xplaneVersion, int* xplmVersion, 502 int* xplraVersion) 503 503 { 504 504 Connection* connection = ConnectionSlot::getValue(connectionID);
Note:
See TracChangeset
for help on using the changeset viewer.