Make iterator in test use size_t instead of int
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-02-01 17:09:15 +01:00
parent f33d96d922
commit 72df9ba01a
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ TEST_CASE("Validate Pokemon GetTypes in Script") {
.WithForme("default")
->WithGender(CreatureLib::Library::Gender::Male)
->Build();
for (auto i = 0; i < mon->GetTypes().size(); i++){
for (size_t i = 0; i < mon->GetTypes().size(); i++){
auto data = GetScript(mainLib, "testType");
data.Context->SetArgObject(0, const_cast<PkmnLib::Battling::Pokemon*>(mon));