From c6a1edf46fb979a527e74bd062da9d0c3b953aab Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Thu, 13 Feb 2020 05:08:39 +0100 Subject: [PATCH] util-event: Fix and cleanup --- CMakeLists.txt | 1 - source/util-event.cpp | 20 -------------------- source/util-event.hpp | 2 +- 3 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 source/util-event.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index bdebbb2..fb1b225 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -366,7 +366,6 @@ set(PROJECT_PRIVATE_SOURCE "${PROJECT_SOURCE_DIR}/source/utility.hpp" "${PROJECT_SOURCE_DIR}/source/utility.cpp" "${PROJECT_SOURCE_DIR}/source/util-event.hpp" - "${PROJECT_SOURCE_DIR}/source/util-event.cpp" # Graphics "${PROJECT_SOURCE_DIR}/source/gfx/gfx-source-texture.hpp" diff --git a/source/util-event.cpp b/source/util-event.cpp deleted file mode 100644 index 12fb7c7..0000000 --- a/source/util-event.cpp +++ /dev/null @@ -1,20 +0,0 @@ -/* -* Modern effects for a modern Streamer -* Copyright (C) 2017 Michael Fabian Dirks -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA -*/ - -#include "util-event.hpp" diff --git a/source/util-event.hpp b/source/util-event.hpp index 5729314..069fb80 100644 --- a/source/util-event.hpp +++ b/source/util-event.hpp @@ -32,7 +32,7 @@ namespace util { public /* functions */: // Destructor - inline ~event() + virtual ~event() { this->clear(); }