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>2013-07-04 10:27:35 +0200
commite6d6f039698b043b244e01996e36efa7a10d5a6e (patch)
tree73ba5e2e6b41564f80eb0b92e6f5ea03265957c2 /examples/thread/dispatcher.cc
parentfaed34a714d9c4cc5cb0fe4fb522ad206f7e8760 (diff)
downloadglibmm-c++11.tar.gz
C++11: examples: more use of auto.c++11
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 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));