]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/android/mainthread.h
Use nullptr instead of 0 for pointers
[libs/core.git] / source / core / android / mainthread.h
index 609300fb85a8a4db64e680c9f4dfd7f754d78bc4..9ce9428568c5bada1529c762e6b2fa04fdeb3ca3 100644 (file)
@@ -20,10 +20,10 @@ public:
        sigc::signal<void, AInputQueue *> signal_input_queue_destroyed;
 
 private:
-       ANativeActivity *activity;
-       AAssetManager *asset_manager;
+       ANativeActivity *activity = nullptr;
+       AAssetManager *asset_manager = nullptr;
        FS::Path int_data_path;
-       bool starting_up;
+       bool starting_up = true;
        Mutex startup_mutex;
 
 public: