summaryrefslogtreecommitdiff
path: root/src/cppunit/TestFactoryRegistry.cpp
diff options
context:
space:
mode:
authorFlorian Becker <fb@vxapps.com>2021-09-19 22:33:50 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2021-10-01 01:55:43 +0800
commit3836794be3e10b8a65f666f07fa721c7ea205a17 (patch)
tree1c133941eaa296f48f9231074258e64f27e14b13 /src/cppunit/TestFactoryRegistry.cpp
parent942992e8abbe00aad7d0671671124a046cae2cda (diff)
downloadcppunit-3836794be3e10b8a65f666f07fa721c7ea205a17.tar.gz
Replace NULL with nullptr
Diffstat (limited to 'src/cppunit/TestFactoryRegistry.cpp')
-rw-r--r--src/cppunit/TestFactoryRegistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/TestFactoryRegistry.cpp b/src/cppunit/TestFactoryRegistry.cpp
index f1623cc..35448a6 100644
--- a/src/cppunit/TestFactoryRegistry.cpp
+++ b/src/cppunit/TestFactoryRegistry.cpp
@@ -70,7 +70,7 @@ public:
// validity beforehand using TestFactoryRegistry::isValid() beforehand.
assert( isValid() );
if ( !isValid() ) // release mode
- return NULL; // => force CRASH
+ return nullptr; // => force CRASH
return getInstance()->getInternalRegistry( name );
}