From d4f3105d9a879f27baad6e43b8b3cb6fe2f0ef50 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Sat, 27 Apr 2013 21:42:58 +0200 Subject: Use nullptr instead of NULL everywhere --- src/scripting/script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scripting/script.cpp') diff --git a/src/scripting/script.cpp b/src/scripting/script.cpp index 72943d43..715a7991 100644 --- a/src/scripting/script.cpp +++ b/src/scripting/script.cpp @@ -33,7 +33,7 @@ typedef std::map< std::string, Script::Factory > Engines; -static Engines *engines = NULL; +static Engines *engines = nullptr; Script::Ref Script::mCreateNpcDelayedCallback; Script::Ref Script::mUpdateCallback; @@ -73,7 +73,7 @@ Script *Script::create(const std::string &engine) } } LOG_ERROR("No scripting engine named " << engine); - return NULL; + return nullptr; } void Script::update() -- cgit v1.2.3-60-g2f50