diff options
author | Sergey Yershov <syershov@maps.me> | 2017-01-23 18:34:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-23 18:34:15 +0300 |
commit | f0c5c39a265fb0644709e7b4084348ce67128ad1 (patch) | |
tree | a8b236048403d5fd72f51ac025ae071f8f01dd48 | |
parent | 20804a402011d486ad22c4d84ede408305822b9f (diff) | |
parent | 0525e76317aba6375483527a5baf29f2b7e6daa6 (diff) |
Merge pull request #5270 from milchakov/fixbeta-585
Compilation fix
-rw-r--r-- | editor/editor_notes.cpp | 2 |
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) |