projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d28e88f
)
Fix warning about non-constant array size
author
Turo Lamminen
<turotl@gmail.com>
Thu, 5 Oct 2017 07:45:25 +0000
(10:45 +0300)
committer
Turo Lamminen
<turotl@gmail.com>
Fri, 6 Oct 2017 15:22:58 +0000
(18:22 +0300)
test/unit/TestModelFactory.h
patch
|
blob
|
history
diff --git
a/test/unit/TestModelFactory.h
b/test/unit/TestModelFactory.h
index
f848f55
..
ca07089
100644
(file)
--- a/
test/unit/TestModelFactory.h
+++ b/
test/unit/TestModelFactory.h
@@
-89,7
+89,7
@@
public:
scene->mRootNode = new aiNode;
scene->mRootNode->mNumMeshes = 1;
- scene->mRootNode->mMeshes = new unsigned int[
scene->mRootNode->mNumMeshes
]{ 0 };
+ scene->mRootNode->mMeshes = new unsigned int[
1
]{ 0 };
return scene;
}