Skip to content

Commit

Permalink
Merge pull request #494 from kennethshackleton/selektric-nullptr
Browse files Browse the repository at this point in the history
Use unambiguous nullptr in Selektric/native_mocks.cpp.
  • Loading branch information
kennethshackleton authored Feb 4, 2024
2 parents f0c3a07 + ee356b2 commit 561f635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Selektric/native_mocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static jstring SystemProperties_get(
jstring keyJ,
jstring defJ
) {
auto key = env->GetStringUTFChars(keyJ, NULL);
auto key = env->GetStringUTFChars(keyJ, nullptr);
if (strcmp("ro.product.cpu.abilist", key)) {
env->ReleaseStringUTFChars(keyJ, key);
return env->NewStringUTF("arm64-v8a,armeabi-v7a");
Expand Down

0 comments on commit 561f635

Please sign in to comment.