]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/tag.cpp
Use C++11 features with containers
[libs/gl.git] / source / core / tag.cpp
index 538190f836fb66782e03a510d0ed2f758a15057d..44c7c8f86396837ebb73c9db0ca592a71dfbff56 100644 (file)
@@ -38,7 +38,7 @@ Tag::Tag(const string &s):
 string Tag::str() const
 {
 #ifdef DEBUG
-       map<Tag, string>::const_iterator i=tag_names.find(*this);
+       auto i=tag_names.find(*this);
        if(i!=tag_names.end())
                return i->second;
 #endif