Skip to content
Snippets Groups Projects
Commit eaa2051c authored by René Fritze's avatar René Fritze
Browse files

[all] lots more c++11 for lots fewer loc

parent 8b8f098a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment