summaryrefslogtreecommitdiff
path: root/examples/thread/dispatcher.cc
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2013-07-04 10:27:35 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-01-21 08:32:09 +0100
commitfc70ef3e57d1953679dd9fb71feffd4f8c49193b (patch)
tree482ca7b441773fb343c4cf05e6e774c7900aaacf /examples/thread/dispatcher.cc
parente4677407be25f1fa7814be41e012d1273efa993c (diff)
downloadglibmm-c++11v2.tar.gz
C++11: examples: more use of auto.c++11v2
Diffstat (limited to 'examples/thread/dispatcher.cc')
-rw-r--r--examples/thread/dispatcher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/thread/dispatcher.cc b/examples/thread/dispatcher.cc
index 1c1eb667..79ff64bc 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));