#endif
}
-Tag::Tag(const std::string &s):
+Tag::Tag(const string &s):
id(s.empty() ? 0 : hash32(s))
{
#ifdef DEBUG
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