mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
unify stl (#10402)
* add ccstd::vector * replace cc::vector with ccstd::vector * replace std::vector with ccstd::vector * do not include <vector>
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
FUNCTION
|
||||
};
|
||||
|
||||
using ValueTypes = std::vector<ValueType>;
|
||||
using ValueTypes = ccstd::vector<ValueType>;
|
||||
|
||||
using ReturnValue = union {
|
||||
int intValue;
|
||||
@@ -543,7 +543,7 @@ static bool JavaScriptJavaBridge_callStaticMethod(se::State &s) { //NOLINT(reada
|
||||
if (call.isValid() && call.getArgumentsCount() == (argc - 3)) {
|
||||
int count = argc - 3;
|
||||
auto * jargs = new jvalue[count];
|
||||
std::vector<jobject> toReleaseObjects;
|
||||
ccstd::vector<jobject> toReleaseObjects;
|
||||
for (int i = 0; i < count; ++i) {
|
||||
int index = i + 3;
|
||||
switch (call.argumentTypeAtIndex(i)) {
|
||||
|
||||
Reference in New Issue
Block a user