* add ccstd::vector
* replace cc::vector with ccstd::vector 
* replace std::vector with ccstd::vector
* do not include <vector>
This commit is contained in:
minggo
2022-03-21 15:55:02 +08:00
committed by GitHub
parent 71288fcf7a
commit 34bf14269c
358 changed files with 1459 additions and 1485 deletions
@@ -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)) {