From c2f41a5b278df2837f4cc5617df07248a048d93c Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 2 Mar 2022 21:24:34 +0100 Subject: refactor: add virtual destructors to interfaces This is required by clang++ for some reason... --- src/interfaces/argument_parser.hpp | 2 ++ src/interfaces/bounds.hpp | 2 ++ src/interfaces/game.hpp | 2 ++ src/interfaces/input.hpp | 2 ++ src/interfaces/matrix.hpp | 2 ++ src/interfaces/observable.hpp | 2 ++ src/interfaces/randomization.hpp | 4 ++++ src/interfaces/scene.hpp | 2 ++ src/interfaces/vector2.hpp | 2 ++ 9 files changed, 20 insertions(+) (limited to 'src') diff --git a/src/interfaces/argument_parser.hpp b/src/interfaces/argument_parser.hpp index 222d9e0..fbf1b2a 100644 --- a/src/interfaces/argument_parser.hpp +++ b/src/interfaces/argument_parser.hpp @@ -15,6 +15,8 @@ struct ParsedArguments class IArgumentParser { public: + virtual ~IArgumentParser() = default; + virtual ParsedArguments parse(const std::vector