Changeset 3338
- Timestamp:
- 01/30/10 16:34:51 (7 weeks ago)
- Location:
- Enterprise/branches/0075_TR_SCRIPTING/AppServer/src
- Files:
-
- 2 modified
-
ApplicationServer.cpp (modified) (1 diff)
-
ApplicationServer.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Enterprise/branches/0075_TR_SCRIPTING/AppServer/src/ApplicationServer.cpp
r3337 r3338 991 991 ); 992 992 993 m_databaseConnectionsMap[_database] = new DatabaseConnections(pDatabaseService, _config); 993 DatabaseConnections* pRaw = new DatabaseConnections(pDatabaseService, _config); 994 pDatabaseConnections_type pDatabaseConnections(pRaw); 995 m_databaseConnectionsMap[_database] = pDatabaseConnections; 994 996 } 995 997 else -
Enterprise/branches/0075_TR_SCRIPTING/AppServer/src/ApplicationServer.hpp
r3337 r3338 204 204 pMessageRegistry_type m_pMessageRegistry_type; 205 205 206 typedef std::map<std::string, DatabaseConnections*> DatabaseConnectionsMap_type; 206 typedef Zen::Memory::managed_ptr<DatabaseConnections> pDatabaseConnections_type; 207 typedef std::map<std::string, pDatabaseConnections_type> DatabaseConnectionsMap_type; 207 208 DatabaseConnectionsMap_type m_databaseConnectionsMap; 208 209 /// @}
