aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/global_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate/global_state.cpp')
-rw-r--r--src/libstate/global_state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstate/global_state.cpp b/src/libstate/global_state.cpp
index 34bcd03fc..6a846d9b0 100644
--- a/src/libstate/global_state.cpp
+++ b/src/libstate/global_state.cpp
@@ -22,7 +22,7 @@ namespace Global_State_Management {
*/
namespace {
-Library_State* global_lib_state = 0;
+Library_State* global_lib_state = nullptr;
}
@@ -83,7 +83,7 @@ Library_State* swap_global_state(Library_State* new_state)
*/
bool global_state_exists()
{
- return (global_lib_state != 0);
+ return (global_lib_state != nullptr);
}
}