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-18 17:11:04 +0200
commit313ce71931353b8c5bf008298346ddef571a489f (patch)
treeb324f0b97fe4f612ffd5f3b82008ff69b9f179ef
parentc3857a9db861c0d435ad0ba3acd8564c82cc2283 (diff)
downloadqtlocation-mapboxgl-upstream/android-runloop-iterator.tar.gz
[android] initialize RunLoop::Impl::nextRunnable iteratorupstream/android-runloop-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