-/* $Id$
-
-This file is part of libmspgl
-Copyright © 2007, 2010 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include "tag.h"
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;
}