Move pointer to member variables
This commit is contained in:
parent
7ab4472865
commit
932b2b9acf
@ -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"),
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user