]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/tag.cpp
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / tag.cpp
index 56236c19554931c87794b7e02e1973437a715d19..84eb074a4361c9d9a4888d861266f802ba778b78 100644 (file)
@@ -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())