Move pointer to member variables

This commit is contained in:
DennisOSRM 2013-07-03 16:56:52 +02:00
parent 7ab4472865
commit 932b2b9acf
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
OSRM::OSRM(const char * server_ini_path) {
BaseConfiguration serverConfig(server_ini_path);
QueryObjectsStorage * objects = new QueryObjectsStorage(
objects = new QueryObjectsStorage(
serverConfig.GetParameter("hsgrData"),
serverConfig.GetParameter("ramIndex"),
serverConfig.GetParameter("fileIndex"),

View File

@ -42,7 +42,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
class OSRM : boost::noncopyable {
typedef boost::unordered_map<std::string, BasePlugin *> PluginMap;
QueryObjectsStorage * objects;
public:
OSRM(const char * server_ini_path);
~OSRM();