summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/nmk16.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-11-05 22:47:14 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-11-05 22:49:02 -0500
commitaca5870c9c14bc56c959765f92b82a21d79ccae7 (patch)
tree0cd4260ee226104ebc1fab1aad1b1c9b93625c76 /src/mame/includes/nmk16.h
parent1ff468e97ebfbed2dabf37f835ed411d99a8d46d (diff)
Fix exception in clang debug build: "Caught unhandled St8bad_cast exception: std::bad_cast" (nw)
Protected inheritance is a very dangerous game considering how MAME loves dynamic casts, and debug builds even more so. This reverts 0a5fed2ecec3c9e3cac23b769896548c28cc6091 in part.
Diffstat (limited to 'src/mame/includes/nmk16.h')
-rw-r--r--src/mame/includes/nmk16.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/includes/nmk16.h b/src/mame/includes/nmk16.h
index 0f4036024da..5e7d714afa7 100644
--- a/src/mame/includes/nmk16.h
+++ b/src/mame/includes/nmk16.h
@@ -16,7 +16,7 @@
#include "screen.h"
#include "tilemap.h"
-class nmk16_state : public driver_device, protected seibu_sound_common
+class nmk16_state : public driver_device, public seibu_sound_common
{
public:
nmk16_state(const machine_config &mconfig, device_type type, const char *tag) :