summaryrefslogtreecommitdiff
path: root/src/fstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fstring.cpp')
-rw-r--r--src/fstring.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fstring.cpp b/src/fstring.cpp
new file mode 100644
index 0000000..56d2173
--- /dev/null
+++ b/src/fstring.cpp
@@ -0,0 +1,14 @@
1#include "fstring.h"
2#include "hash.h"
3
4template<> uint32_t Bu::__calcHashCode<Bu::FString>( const Bu::FString &k )
5{
6 return __calcHashCode( k.c_str() );
7}
8
9template<> bool Bu::__cmpHashKeys<Bu::FString>(
10 const Bu::FString &a, const Bu::FString &b )
11{
12 return a == b;
13}
14