~ubuntu-branches/debian/wheezy/abyss/wheezy

« back to all changes in this revision

Viewing changes to Common/ConstString.h

  • Committer: Package Import Robot
  • Author(s): Shaun Jackman
  • Date: 2012-05-31 11:39:13 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120531113913-39atrfritvjevhv6
Tags: 1.3.4-1
* New upstream release.
* debian/copyright: Add CityHash, which has an Expat license.
* debian/control: Bump Standards-Version to 3.9.3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
/** Return the hash of the null-terminated string s. */
107
107
static inline size_t hash(const char* s)
108
108
{
109
 
        return hashlittle(s, strlen(s), 0);
 
109
        return hashmem(s, strlen(s));
110
110
}
111
111
 
112
112
namespace std {