X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftag.cpp;h=84eb074a4361c9d9a4888d861266f802ba778b78;hp=56236c19554931c87794b7e02e1973437a715d19;hb=HEAD;hpb=f3ee91e70df8a7fdc68f46427bf8a28f34f0cd24 diff --git a/source/core/tag.cpp b/source/core/tag.cpp index 56236c19..84eb074a 100644 --- a/source/core/tag.cpp +++ b/source/core/tag.cpp @@ -22,7 +22,7 @@ namespace Msp { namespace GL { Tag::Tag(const char *s): - id((s && *s) ? hash32(s, strlen(s)) : 0) + id((s && *s) ? hash<32>(s, strlen(s)) : 0) { #ifdef DEBUG if(s) @@ -31,7 +31,7 @@ Tag::Tag(const char *s): } Tag::Tag(const string &s): - id(s.empty() ? 0 : hash32(s)) + id(s.empty() ? 0 : hash<32>(s)) { #ifdef DEBUG if(!s.empty())