diff options
author | Mikhail Gorbushin <m.gorbushin@corp.mail.ru> | 2018-08-31 11:35:44 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-08-31 15:34:54 +0300 |
commit | 7b1b6d68940678abe4b182e7eaab425f8e8f5bfa (patch) | |
tree | 1a60cef3101193a11f346727ead8f8dd1a58199d /routing/transit_graph_loader.cpp | |
parent | e73f3c434b1040685c365383baebab93411205bb (diff) |
remove my::make_unique
Diffstat (limited to 'routing/transit_graph_loader.cpp')
-rw-r--r-- | routing/transit_graph_loader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routing/transit_graph_loader.cpp b/routing/transit_graph_loader.cpp index de226dc944..bff8182869 100644 --- a/routing/transit_graph_loader.cpp +++ b/routing/transit_graph_loader.cpp @@ -14,9 +14,9 @@ #include "coding/file_container.hpp" -#include "base/stl_add.hpp" #include "base/timer.hpp" +#include <memory> #include <unordered_map> #include <vector> @@ -74,7 +74,7 @@ unique_ptr<TransitGraph> TransitGraphLoaderImpl::CreateTransitGraph(NumMwmId num MYTHROW(RoutingException, ("Can't get mwm handle for", file)); my::Timer timer; - auto graph = my::make_unique<TransitGraph>(numMwmId, m_estimator); + auto graph = make_unique<TransitGraph>(numMwmId, m_estimator); MwmValue const & mwmValue = *handle.GetValue<MwmValue>(); if (!mwmValue.m_cont.IsExist(TRANSIT_FILE_TAG)) return graph; @@ -106,7 +106,7 @@ unique_ptr<TransitGraphLoader> TransitGraphLoader::Create(DataSource & dataSourc shared_ptr<NumMwmIds> numMwmIds, shared_ptr<EdgeEstimator> estimator) { - return my::make_unique<TransitGraphLoaderImpl>(dataSource, numMwmIds, estimator); + return make_unique<TransitGraphLoaderImpl>(dataSource, numMwmIds, estimator); } } // namespace routing |