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:
authorSergey Yershov <syershov@maps.me>2017-01-23 18:34:15 +0300
committerGitHub <noreply@github.com>2017-01-23 18:34:15 +0300
commitf0c5c39a265fb0644709e7b4084348ce67128ad1 (patch)
treea8b236048403d5fd72f51ac025ae071f8f01dd48
parent20804a402011d486ad22c4d84ede408305822b9f (diff)
parent0525e76317aba6375483527a5baf29f2b7e6daa6 (diff)
Merge pull request #5270 from milchakov/fixbeta-585
Compilation fix
-rw-r--r--editor/editor_notes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_notes.cpp b/editor/editor_notes.cpp
index 88a9c661fc..602e5996fa 100644
--- a/editor/editor_notes.cpp
+++ b/editor/editor_notes.cpp
@@ -170,8 +170,8 @@ void Notes::Upload(osm::OsmOAuth const & auth)
auto const doUpload = [self, auth]() {
std::unique_lock<std::mutex> ulock(self->m_mu);
// Size of m_notes is decreased only in this method.
- size_t size = notes.size();
auto & notes = self->m_notes;
+ size_t size = notes.size();
osm::ServerApi06 api(auth);
while (size > 0)