summaryrefslogtreecommitdiff
path: root/platform/android/net_socket_android.cpp
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2022-05-30 22:13:49 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2022-05-31 17:11:05 +0100
commit2afef001e702046378a02fa887dbb361f39c7b6e (patch)
tree2dac64b759e489b32055ce95608d1783c1f805c7 /platform/android/net_socket_android.cpp
parenta837accc5d058e4eec29f4d854da8cb9f55a97cf (diff)
Cleanup Android C++ code
Diffstat (limited to 'platform/android/net_socket_android.cpp')
-rw-r--r--platform/android/net_socket_android.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/net_socket_android.cpp b/platform/android/net_socket_android.cpp
index a65e7c6724..225a1132fe 100644
--- a/platform/android/net_socket_android.cpp
+++ b/platform/android/net_socket_android.cpp
@@ -32,10 +32,10 @@
#include "thread_jandroid.h"
-jobject NetSocketAndroid::net_utils = 0;
-jclass NetSocketAndroid::cls = 0;
-jmethodID NetSocketAndroid::_multicast_lock_acquire = 0;
-jmethodID NetSocketAndroid::_multicast_lock_release = 0;
+jobject NetSocketAndroid::net_utils = nullptr;
+jclass NetSocketAndroid::cls = nullptr;
+jmethodID NetSocketAndroid::_multicast_lock_acquire = nullptr;
+jmethodID NetSocketAndroid::_multicast_lock_release = nullptr;
void NetSocketAndroid::setup(jobject p_net_utils) {
JNIEnv *env = get_jni_env();