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-06-30 10:15:28 +0200
commite3cf2a503132aaaddd69f2a149d3e60344b9df0a (patch)
treed746410b7e1aa54d4a768ca03057113454b2c0cd /examples/thread/dispatcher.cc
parentb6aa4974db0d42c1070c9e2600d5198c26cec522 (diff)
downloadglibmm-c++11v3.tar.gz
C++11: examples: more use of auto.c++11v3
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));