]> git.tdb.fi Git - libs/gl.git/blobdiff - source/tag.cpp
Drop Id tags and copyright notices from files
[libs/gl.git] / source / tag.cpp
index 76adf7d1b53ccd5e681686335132ff6b265f64b7..af92bbb8b60780cb0827a63e8d0ea3c6795299d6 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007, 2010  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include "tag.h"
 
 namespace {
@@ -12,9 +5,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;
 }