util-event: Fix and cleanup

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2020-02-13 05:08:39 +01:00
parent f8ee95d71c
commit c6a1edf46f
3 changed files with 1 additions and 22 deletions

View file

@ -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"

View file

@ -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"

View file

@ -32,7 +32,7 @@ namespace util {
public /* functions */:
// Destructor
inline ~event()
virtual ~event()
{
this->clear();
}