Android: Some simple Clang-Tidy suggestions

This commit is contained in:
Ryan Meredith
2020-07-22 15:38:45 -04:00
parent 92d24aec2e
commit 9ac24a0580
3 changed files with 14 additions and 13 deletions

View File

@ -188,7 +188,7 @@ JNIEXPORT jintArray JNICALL Java_org_dolphinemu_dolphinemu_model_GameFile_getBan
jobject obj)
{
const std::vector<u32>& buffer = GetRef(env, obj)->GetBannerImage().buffer;
const jsize size = static_cast<jsize>(buffer.size());
const auto size = static_cast<jsize>(buffer.size());
const jintArray out_array = env->NewIntArray(size);
if (!out_array)
return nullptr;