From c3bbe8135d81d42ebf4fadd902dd9c7ba23e316a Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Wed, 20 Mar 2024 07:29:29 +1100 Subject: [PATCH] argparse refactor --- src/argparse.cpp | 49 ++++++++++++++++++++++++----- src/argparse.hpp | 65 +++++++++++++++++++++++++------------- src/tmx2gba.cpp | 82 +++++++++++++++--------------------------------- 3 files changed, 112 insertions(+), 84 deletions(-) diff --git a/src/argparse.cpp b/src/argparse.cpp index 8715a2e..33d9db9 100644 --- a/src/argparse.cpp +++ b/src/argparse.cpp @@ -4,11 +4,12 @@ #include #include #include +#include ArgParse::ArgParser::ArgParser( const std::string_view argv0, - std::initializer_list