aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/fmopl.h')
-rw-r--r--sound/fmopl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/fmopl.h b/sound/fmopl.h
index 2b0e9c1ab2..33235f3545 100644
--- a/sound/fmopl.h
+++ b/sound/fmopl.h
@@ -93,10 +93,9 @@ private:
class OPL {
private:
- // TODO: This is part of a temporary HACK to allow only 1 instance
static bool _hasInstance;
public:
- OPL() { assert(!_hasInstance); _hasInstance = true; }
+ OPL();
virtual ~OPL() { _hasInstance = false; }
/**