From 37e57f6d5aa03f957d79675a99e776af7bebb168 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 14 Oct 2014 20:50:45 +0200 Subject: [PATCH] simplify objects base class --- alib2data/src/common/base.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/alib2data/src/common/base.hpp b/alib2data/src/common/base.hpp index 01f536be09..044fa857f2 100644 --- a/alib2data/src/common/base.hpp +++ b/alib2data/src/common/base.hpp @@ -22,6 +22,10 @@ public: } virtual int selfTypeId() const = 0; + + virtual ~base_base() noexcept { + + } }; template<int ID, typename... Types> @@ -41,10 +45,6 @@ public: virtual bool operator<(const T & other) const { return this->selfTypeId() < typeId(other); } - - virtual ~base_helper() noexcept { - - } }; template<int ID, typename T, typename... Types> -- GitLab