Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikhail Gorbushin <m.gorbushin@corp.mail.ru>2018-08-31 11:35:44 +0300
committerVlad Mihaylenko <vxmihaylenko@gmail.com>2018-08-31 15:34:54 +0300
commit7b1b6d68940678abe4b182e7eaab425f8e8f5bfa (patch)
tree1a60cef3101193a11f346727ead8f8dd1a58199d /local_ads
parente73f3c434b1040685c365383baebab93411205bb (diff)
remove my::make_unique
Diffstat (limited to 'local_ads')
-rw-r--r--local_ads/statistics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/local_ads/statistics.cpp b/local_ads/statistics.cpp
index 4c7e5f8599..c027ade5fa 100644
--- a/local_ads/statistics.cpp
+++ b/local_ads/statistics.cpp
@@ -24,6 +24,7 @@
#include "3party/jansson/myjansson.hpp"
#include <functional>
+#include <memory>
#include <sstream>
#include <utility>
@@ -309,7 +310,7 @@ std::list<Event> Statistics::WriteEvents(std::list<Event> & events, std::string
}
if (writer == nullptr || writer->GetName() != metadata.m_fileName)
- writer = my::make_unique<FileWriter>(metadata.m_fileName, FileWriter::OP_APPEND);
+ writer = std::make_unique<FileWriter>(metadata.m_fileName, FileWriter::OP_APPEND);
if (needWriteMetadata)
WriteMetadata(*writer, event.m_countryId, event.m_mwmVersion, metadata.m_timestamp);