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) {
|
OSRM::OSRM(const char * server_ini_path) {
|
||||||
BaseConfiguration serverConfig(server_ini_path);
|
BaseConfiguration serverConfig(server_ini_path);
|
||||||
QueryObjectsStorage * objects = new QueryObjectsStorage(
|
objects = new QueryObjectsStorage(
|
||||||
serverConfig.GetParameter("hsgrData"),
|
serverConfig.GetParameter("hsgrData"),
|
||||||
serverConfig.GetParameter("ramIndex"),
|
serverConfig.GetParameter("ramIndex"),
|
||||||
serverConfig.GetParameter("fileIndex"),
|
serverConfig.GetParameter("fileIndex"),
|
||||||
|
@ -42,7 +42,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
|||||||
|
|
||||||
class OSRM : boost::noncopyable {
|
class OSRM : boost::noncopyable {
|
||||||
typedef boost::unordered_map<std::string, BasePlugin *> PluginMap;
|
typedef boost::unordered_map<std::string, BasePlugin *> PluginMap;
|
||||||
|
QueryObjectsStorage * objects;
|
||||||
public:
|
public:
|
||||||
OSRM(const char * server_ini_path);
|
OSRM(const char * server_ini_path);
|
||||||
~OSRM();
|
~OSRM();
|
||||||
|
Loading…
Reference in New Issue
Block a user