Move strhash to string_utils.h

This commit is contained in:
baldurk
2016-02-07 18:48:56 +01:00
parent 79819d4f94
commit 49f81a6499
3 changed files with 21 additions and 18 deletions
+3
View File
@@ -24,6 +24,7 @@
#pragma once
#include <stdint.h>
#include <string>
#include <vector>
using std::string;
@@ -35,6 +36,8 @@ std::wstring strlower(const std::wstring& str);
std::string strupper(const std::string& str);
std::wstring strupper(const std::wstring& str);
uint32_t strhash(const char *str, uint32_t existingHash = 5381);
template<class strType> strType basename(const strType &path)
{
strType base = path;