Add support of custom ServiceHandler

This commit is contained in:
Denis Koronchik
2016-10-27 13:26:23 +03:00
committed by Daniel J. H
parent 6fc0609a62
commit 5da63998d6
4 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ namespace osrm
namespace server
{
void RequestHandler::RegisterServiceHandler(std::unique_ptr<ServiceHandler> service_handler_)
void RequestHandler::RegisterServiceHandler(std::unique_ptr<ServiceHandlerInterface> service_handler_)
{
service_handler = std::move(service_handler_);
}