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;
}