diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-01-29 19:21:21 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-02-19 20:26:27 +0300 |
commit | da73753755eb2f306c5e2f4be4e846092ac71e9d (patch) | |
tree | 454be5bb0ea0cbaf5499db82dc7e6e37ccb7e3f9 /routing | |
parent | fa014c60f13372cb3967a395a28c1d4d1b6b9c9f (diff) |
Linux build fix.
Diffstat (limited to 'routing')
-rw-r--r-- | routing/routing_benchmarks/CMakeLists.txt | 1 | ||||
-rw-r--r-- | routing/routing_benchmarks/helpers.hpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/routing/routing_benchmarks/CMakeLists.txt b/routing/routing_benchmarks/CMakeLists.txt index 751a3b701f..2fcf70dac2 100644 --- a/routing/routing_benchmarks/CMakeLists.txt +++ b/routing/routing_benchmarks/CMakeLists.txt @@ -43,3 +43,4 @@ omim_link_libraries( ) link_qt5_core(${PROJECT_NAME}) +link_qt5_network(${PROJECT_NAME}) diff --git a/routing/routing_benchmarks/helpers.hpp b/routing/routing_benchmarks/helpers.hpp index c46c6a18d3..0f06b9a36d 100644 --- a/routing/routing_benchmarks/helpers.hpp +++ b/routing/routing_benchmarks/helpers.hpp @@ -77,7 +77,7 @@ public: } }; - SimplifiedModelFactory() : m_model(make_shared<SimplifiedModel>()) {} + SimplifiedModelFactory() : m_model(std::make_shared<SimplifiedModel>()) {} // VehicleModelFactoryInterface overrides: std::shared_ptr<routing::VehicleModelInterface> GetVehicleModel() const override { return m_model; } |