summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-06-18 17:10:16 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-06-19 16:23:59 +0200
commit4c7842045a231b40aa9f4c4765678f1cd5aa987d (patch)
tree80d95ea8707e3089286a9bf125efd02126f4fe04
parentb84a184d2ddc496908506c9c69ed6b4778213077 (diff)
downloadqtlocation-mapboxgl-4c7842045a231b40aa9f4c4765678f1cd5aa987d.tar.gz
[android] initialize RunLoop::Impl::nextRunnable iterator
-rw-r--r--platform/android/src/run_loop_impl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/run_loop_impl.hpp b/platform/android/src/run_loop_impl.hpp
index 15cbfa14ae..9f4dec476e 100644
--- a/platform/android/src/run_loop_impl.hpp
+++ b/platform/android/src/run_loop_impl.hpp
@@ -57,7 +57,7 @@ private:
std::recursive_mutex mtx;
std::list<Runnable*> runnables;
- std::list<Runnable*>::iterator nextRunnable;
+ std::list<Runnable*>::iterator nextRunnable = runnables.end();
};
} // namespace util