X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftag.cpp;h=538190f836fb66782e03a510d0ed2f758a15057d;hb=e92de029768eef5f0fd744329e589161b46d0762;hp=b5f860334e8a3792b7d8f4fe88f47e2dcd9a4e31;hpb=fa2b4c8a93ebad2497cacfdeaa9a2c20be486520;p=libs%2Fgl.git diff --git a/source/core/tag.cpp b/source/core/tag.cpp index b5f86033..538190f8 100644 --- a/source/core/tag.cpp +++ b/source/core/tag.cpp @@ -26,7 +26,7 @@ Tag::Tag(const char *s): #endif } -Tag::Tag(const std::string &s): +Tag::Tag(const string &s): id(s.empty() ? 0 : hash32(s)) { #ifdef DEBUG