From 4d64c422b22f3176aea30955575ab3af287e9e4f Mon Sep 17 00:00:00 2001 From: Johannes Lorenz Date: Thu, 27 Dec 2018 21:59:50 +0100 Subject: [PATCH] Fix Engine.cpp not compiling on some compilers --- src/core/Engine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/Engine.cpp b/src/core/Engine.cpp index 7f89c20f3..50e25b0b4 100644 --- a/src/core/Engine.cpp +++ b/src/core/Engine.cpp @@ -29,6 +29,7 @@ #include "FxMixer.h" #include "Ladspa2LMMS.h" #include "Mixer.h" +#include "Plugin.h" #include "PresetPreviewPlayHandle.h" #include "ProjectJournal.h" #include "Song.h" @@ -118,7 +119,7 @@ void LmmsCore::updateFramesPerTick() void LmmsCore::setDndPluginKey(void *newKey) { - assert(static_cast(newKey)); + Q_ASSERT(static_cast(newKey)); s_dndPluginKey = newKey; }