Fixed ints for vector counts. Should be size_t.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
149b0f08f6
commit
bbb01ae458
|
@ -129,10 +129,10 @@ void AngelScripResolver::FinalizeModule() {
|
|||
std::regex variableMatcher("\\s*(\\w+)=(\\w+)", std::regex_constants::icase);
|
||||
std::smatch base_match;
|
||||
|
||||
for (int n = 0; n < count; n++) {
|
||||
for (size_t n = 0; n < count; n++) {
|
||||
auto typeInfo = _mainModule->GetObjectTypeByIndex(n);
|
||||
auto metadata = _builder.GetMetadataForType(typeInfo->GetTypeId());
|
||||
for (int m = 0; m < metadata.size(); m++) {
|
||||
for (size_t m = 0; m < metadata.size(); m++) {
|
||||
auto data = metadata[m];
|
||||
if (std::regex_match(data, base_match, metadataMatcher)) {
|
||||
auto metadataKind = base_match[1].str();
|
||||
|
|
Loading…
Reference in New Issue