File: Fix-cli11-signature.patch

package info (click to toggle)
signal-estimator 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,268 kB
  • sloc: cpp: 4,752; python: 846; sh: 147; makefile: 58
file content (26 lines) | stat: -rw-r--r-- 786 bytes parent folder | download
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";