aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/stubs/singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/stubs/singleton.h')
-rw-r--r--src/google/protobuf/stubs/singleton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/stubs/singleton.h b/src/google/protobuf/stubs/singleton.h
index 2e6ccbdb..5f0f4610 100644
--- a/src/google/protobuf/stubs/singleton.h
+++ b/src/google/protobuf/stubs/singleton.h
@@ -45,7 +45,7 @@ class Singleton {
}
static void ShutDown() {
delete instance_;
- instance_ = NULL;
+ instance_ = nullptr;
}
private:
static void Init() {
@@ -59,7 +59,7 @@ template<typename T>
ProtobufOnceType Singleton<T>::once_;
template<typename T>
-T* Singleton<T>::instance_ = NULL;
+T* Singleton<T>::instance_ = nullptr;
} // namespace internal
} // namespace protobuf
} // namespace google