1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Fix make_expanded() override for CLI11 >=2.5
Author: Dylan Aïssi <daissi@debian.org>
Bug-Debian: https://bugs.debian.org/1115139
--- a/src/cli/Format.hpp
+++ b/src/cli/Format.hpp
@@ -12,7 +12,7 @@
public:
Formatter();
- std::string make_expanded(const CLI::App* sub) const override;
+ std::string make_expanded(const CLI::App* sub, CLI::AppFormatMode mode) const override;
};
} // namespace signal_estimator
--- a/src/cli/Format.cpp
+++ b/src/cli/Format.cpp
@@ -9,7 +9,7 @@
label("REQUIRED", "[required]");
}
-std::string Formatter::make_expanded(const CLI::App* sub) const {
+std::string Formatter::make_expanded(const CLI::App* sub, CLI::AppFormatMode mode) const {
std::stringstream out;
out << "\n" << sub->get_group() << ":\n";
|