2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

driver: Use nullptr instead of NULL where applicable

Same thing, but more typesafe, given all NULL is, is a literal 0.
This commit is contained in:
Lioncash
2019-08-19 22:52:33 -04:00
parent 789650d4c0
commit 19f49e071d
3 changed files with 4 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ public:
static void ShowHelp(const hecl::SystemString& toolName) {
/* Select tool's help-text streamer */
HelpOutput::HelpFunc helpFunc = NULL;
HelpOutput::HelpFunc helpFunc = nullptr;
if (toolName == _SYS_STR("init"))
helpFunc = ToolInit::Help;
else if (toolName == _SYS_STR("spec"))