From eaa2051c536cf55e88f3b63131d0fe7f0121ffd5 Mon Sep 17 00:00:00 2001
From: Rene Milk <rene.milk@uni-muenster.de>
Date: Wed, 13 Feb 2013 16:17:44 +0100
Subject: [PATCH] [all] lots more c++11 for lots fewer loc

---
 dune/stuff/common/misc.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/stuff/common/misc.hh b/dune/stuff/common/misc.hh
index 199d73466..1e66c042a 100644
--- a/dune/stuff/common/misc.hh
+++ b/dune/stuff/common/misc.hh
@@ -45,7 +45,7 @@ namespace Common {
 template <class StlSequence>
 inline int getIdx(const StlSequence& ct, const typename StlSequence::value_type& val)
 {
-  typename StlSequence::const_iterator result = std::find(ct.begin(), ct.end(), val);
+  auto result = std::find(ct.begin(), ct.end(), val);
   if (result == ct.end())
     return -1;
 
-- 
GitLab