aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/argument_parser.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-02 21:24:34 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:54 +0200
commitc2f41a5b278df2837f4cc5617df07248a048d93c (patch)
tree0187794794cd96958720219340b85d31e6194c39 /src/interfaces/argument_parser.hpp
parent68ee3c67a8d23f68d9f87aea08548aba598ef14a (diff)
refactor: add virtual destructors to interfaces
This is required by clang++ for some reason...
Diffstat (limited to 'src/interfaces/argument_parser.hpp')
-rw-r--r--src/interfaces/argument_parser.hpp2
1 files changed, 2 insertions, 0 deletions
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<option> &options, const std::string_view &short_options,
const int &argc,