|
|
@@ -73,16 +73,16 @@ struct hash<StringId64>
|
|
|
};
|
|
|
|
|
|
#if CROWN_DEBUG && !CROWN_DEVELOPMENT
|
|
|
-inline u32 STRING_ID_32(const char *str, const u32 id)
|
|
|
+inline StringId32 STRING_ID_32(const char *str, const u32 id)
|
|
|
{
|
|
|
CE_ASSERT(murmur32(str, strlen32(str), 0) == id, "Hash mismatch");
|
|
|
- return id;
|
|
|
+ return StringId32(id);
|
|
|
}
|
|
|
|
|
|
-inline u64 STRING_ID_64(const char *str, const u64 id)
|
|
|
+inline StringId64 STRING_ID_64(const char *str, const u64 id)
|
|
|
{
|
|
|
CE_ASSERT(murmur64(str, strlen32(str), 0) == id, "Hash mismatch");
|
|
|
- return id;
|
|
|
+ return StringId64(id);
|
|
|
}
|
|
|
#endif
|
|
|
/// @}
|