mirror of https://github.com/axmolengine/axmol.git
Fixed compilation errors of blackberry platform.
This commit is contained in:
parent
e8e55c600b
commit
0dfa1b566b
|
@ -40,7 +40,7 @@ public:
|
|||
virtual long getClassTypeInfo() = 0;
|
||||
};
|
||||
|
||||
static unsigned int getHashCodeByString(const char *key)
|
||||
static inline unsigned int getHashCodeByString(const char *key)
|
||||
{
|
||||
unsigned int len = strlen(key);
|
||||
const char *end=key+len;
|
||||
|
|
|
@ -28,6 +28,8 @@ THE SOFTWARE.
|
|||
#include "platform/CCPlatformMacros.h"
|
||||
|
||||
#include <typeinfo>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
NS_CC_BEGIN
|
||||
|
||||
|
@ -37,7 +39,7 @@ public:
|
|||
virtual long getClassTypeInfo() = 0;
|
||||
};
|
||||
|
||||
static unsigned int getHashCodeByString(const char *key)
|
||||
static inline unsigned int getHashCodeByString(const char *key)
|
||||
{
|
||||
unsigned int len = strlen(key);
|
||||
const char *end=key+len;
|
||||
|
|
Loading…
Reference in New Issue