aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/libstate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate/libstate.cpp')
-rw-r--r--src/libstate/libstate.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstate/libstate.cpp b/src/libstate/libstate.cpp
index eafa6dbb0..7ddfddfca 100644
--- a/src/libstate/libstate.cpp
+++ b/src/libstate/libstate.cpp
@@ -168,9 +168,9 @@ void Library_State::initialize()
*/
Library_State::Library_State()
{
- m_algorithm_factory = 0;
+ m_algorithm_factory = nullptr;
- global_rng_ptr = 0;
+ global_rng_ptr = nullptr;
}
/*
@@ -179,10 +179,10 @@ Library_State::Library_State()
Library_State::~Library_State()
{
delete m_algorithm_factory;
- m_algorithm_factory = 0;
+ m_algorithm_factory = nullptr;
delete global_rng_ptr;
- global_rng_ptr = 0;
+ global_rng_ptr = nullptr;
}
}