diff --git a/Library/OSRM.h b/Library/OSRM.h index ce12186ae..63a0672bb 100644 --- a/Library/OSRM.h +++ b/Library/OSRM.h @@ -54,12 +54,17 @@ class OSRM : boost::noncopyable { typedef boost::unordered_map PluginMap; QueryObjectsStorage * objects; public: - OSRM(boost::unordered_map& paths); + OSRM( + boost::unordered_map& paths, + const bool use_shared_memory = false + ); ~OSRM(); void RunQuery(RouteParameters & route_parameters, http::Reply & reply); private: void RegisterPlugin(BasePlugin * plugin); PluginMap pluginMap; + const bool use_shared_memory; }; #endif //OSRM_H