diff --git a/Commander.h b/Commander.h index f7f786a..7a9aa55 100644 --- a/Commander.h +++ b/Commander.h @@ -28,6 +28,7 @@ /// PERFORMANCE OF THIS SOFTWARE. /// +#include #include #include #include @@ -51,7 +52,7 @@ using CommanderFunc = std::function; class Subcommand { public: /// Status describes the results of running a Subcommand. - enum class Status : std::uint8_t { + enum class Status : int8_t { /// The subcommand executed correctly. OK = 0, /// Not enough arguments were supplied to the subcommand.