feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef OPTIMIZED_TRANSLATION_H
|
||||
#define OPTIMIZED_TRANSLATION_H
|
||||
#pragma once
|
||||
|
||||
#include "core/string/translation.h"
|
||||
|
||||
|
|
@ -65,7 +64,7 @@ class OptimizedTranslation : public Translation {
|
|||
d = 0x1000193;
|
||||
}
|
||||
while (*p_str) {
|
||||
d = (d * 0x1000193) ^ uint32_t(*p_str);
|
||||
d = (d * 0x1000193) ^ static_cast<uint8_t>(*p_str);
|
||||
p_str++;
|
||||
}
|
||||
|
||||
|
|
@ -86,5 +85,3 @@ public:
|
|||
|
||||
OptimizedTranslation() {}
|
||||
};
|
||||
|
||||
#endif // OPTIMIZED_TRANSLATION_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue