mirror of https://github.com/axmolengine/axmol.git
Merge pull request #4915 from Dhilan007/develop_crash
fix crash in UnitTest.cpp on vs.
This commit is contained in:
commit
d9e79b4ec5
|
@ -343,7 +343,9 @@ void TemplateMapTest::onEnter()
|
|||
Map<std::string, Node*> map1;
|
||||
CCASSERT(map1.empty(), "");
|
||||
CCASSERT(map1.size() == 0, "");
|
||||
#if (CC_TARGET_PLATFORM != CC_PLATFORM_WIN32)
|
||||
CCASSERT(map1.bucketCount() == 0, "");
|
||||
#endif
|
||||
CCASSERT(map1.keys().empty(), "");
|
||||
CCASSERT(map1.keys(Node::create()).empty(), "");
|
||||
|
||||
|
|
Loading…
Reference in New Issue