diff options
Diffstat (limited to 'examples/thread/dispatcher.cc')
-rw-r--r-- | examples/thread/dispatcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/thread/dispatcher.cc b/examples/thread/dispatcher.cc index 5f694402..5f83c44c 100644 --- a/examples/thread/dispatcher.cc +++ b/examples/thread/dispatcher.cc @@ -134,7 +134,7 @@ void ThreadProgress::thread_function() { Glib::Rand rand; - for (int i = 0; i < ITERATIONS; ++i) + for (auto i = 0; i < ITERATIONS; ++i) { Glib::usleep(rand.get_int_range(2000, 20000)); |