From 5556dff11e4dca3bc27a08e7ecdfc9a1cf9dff8c Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 17 Sep 2013 18:37:08 +0200 Subject: [PATCH] instantiate different inherited class at bcp that provides all data --- Library/OSRM.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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