diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-14 18:02:18 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:56 +0200 |
commit | dc6222611ad14a33f642396558ba84ecba9d6605 (patch) | |
tree | d759020233b66be62c5539209a03842d283b67a9 /src/interfaces/argument_parser.hpp | |
parent | dbab54ebf134b6ab2cf719d7c26a191fbffeed34 (diff) |
perf: add noexcept almost everywhere
Diffstat (limited to 'src/interfaces/argument_parser.hpp')
-rw-r--r-- | src/interfaces/argument_parser.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/argument_parser.hpp b/src/interfaces/argument_parser.hpp index fbf1b2a..742646d 100644 --- a/src/interfaces/argument_parser.hpp +++ b/src/interfaces/argument_parser.hpp @@ -15,11 +15,11 @@ struct ParsedArguments class IArgumentParser { public: - virtual ~IArgumentParser() = default; + virtual ~IArgumentParser() noexcept = default; virtual ParsedArguments parse(const std::vector<option> &options, const std::string_view &short_options, const int &argc, - char *const *argv) = 0; // NOLINT(cppcoreguidelines-avoid-c-arrays, - // modernize-avoid-c-arrays) + char *const *argv) noexcept = 0; // NOLINT(cppcoreguidelines-avoid-c-arrays, + // modernize-avoid-c-arrays) }; |