summaryrefslogtreecommitdiff
path: root/examples/thread/thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/thread/thread.cc')
-rw-r--r--examples/thread/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/thread/thread.cc b/examples/thread/thread.cc
index ad7cfebd..6fb546c1 100644
--- a/examples/thread/thread.cc
+++ b/examples/thread/thread.cc
@@ -36,7 +36,7 @@ void MessageQueue::producer()
{
Glib::Rand rand (1234);
- for(int i = 0; i < 200; ++i)
+ for(auto i = 0; i < 200; ++i)
{
{
Glib::Threads::Mutex::Lock lock (mutex_);