]> git.tdb.fi Git - libs/gl.git/blobdiff - source/tag.cpp
Style update: add spaces around assignment operators
[libs/gl.git] / source / tag.cpp
index 76adf7d1b53ccd5e681686335132ff6b265f64b7..3586507a5f8ba17c35a560b55fdbfb6990290672 100644 (file)
@@ -12,9 +12,9 @@ namespace {
 template<typename T>
 inline unsigned hash(T begin, T end)
 {
-       unsigned result=0;
+       unsigned result = 0;
        for(T i=begin; (i!=end && *i); ++i)
-               result=((result>>29)|(result<<5))^static_cast<unsigned char>(*i);
+               result = ((result>>29)|(result<<5))^static_cast<unsigned char>(*i);
        return result;
 }