From bdbf4f5432d3203adbf7284331dd4ee173b68768 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Mon, 4 Jul 2022 21:25:56 -0400 Subject: [PATCH 1/2] Add missing Macros.hpp include to Error.hpp To address: ``` In file included from /ITKWebAssemblyInterface/include/itkPipeline.h:21: In file included from /ITKWebAssemblyInterface-build/_deps/cli11-src/include/CLI/App.hpp:25: In file included from /ITKWebAssemblyInterface-build/_deps/cli11-src/include/CLI/ConfigFwd.hpp:17: /ITKWebAssemblyInterface-build/_deps/cli11-src/include/CLI/Error.hpp:75:5: error: unknown type name 'CLI11_NODISCARD' CLI11_NODISCARD int get_exit_code() const { return actual_exit_code; } ^ ``` --- include/CLI/Error.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/CLI/Error.hpp b/include/CLI/Error.hpp index 944c9a397..636f42094 100644 --- a/include/CLI/Error.hpp +++ b/include/CLI/Error.hpp @@ -16,6 +16,7 @@ // CLI library includes #include "StringTools.hpp" +#include "Macros.hpp" namespace CLI { // [CLI11:error_hpp:verbatim] From 119f79e80ff81cfd50030dc6c395fc202e462022 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 5 Jul 2022 01:38:27 +0000 Subject: [PATCH 2/2] style: pre-commit.ci fixes --- include/CLI/Error.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/CLI/Error.hpp b/include/CLI/Error.hpp index 636f42094..45df83bb6 100644 --- a/include/CLI/Error.hpp +++ b/include/CLI/Error.hpp @@ -15,8 +15,8 @@ // [CLI11:public_includes:end] // CLI library includes -#include "StringTools.hpp" #include "Macros.hpp" +#include "StringTools.hpp" namespace CLI { // [CLI11:error_hpp:verbatim]