From 91605d3f4df9b9fb1490c276053ff274fb728816 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 3 Dec 2015 18:17:25 +0100 Subject: clang-modernize part 1 (nw) --- src/emu/luaengine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/luaengine.h') diff --git a/src/emu/luaengine.h b/src/emu/luaengine.h index 7f9018d3759..9bc6275100e 100644 --- a/src/emu/luaengine.h +++ b/src/emu/luaengine.h @@ -46,7 +46,7 @@ public: void periodic_check(); bool frame_hook(); - void resume(lua_State *L, int nparam = 0, lua_State *root = NULL); + void resume(lua_State *L, int nparam = 0, lua_State *root = nullptr); void set_machine(running_machine *machine) { m_machine = machine; update_machine(); } private: struct hook { @@ -57,7 +57,7 @@ private: void set(lua_State *L, int idx); lua_State *precall(); void call(lua_engine *engine, lua_State *T, int nparam); - bool active() const { return L != NULL; } + bool active() const { return L != nullptr; } }; static const char *const tname_ioport; -- cgit v1.2.3-70-g09d2