From 68ced8bd5c819264e628d4f063500753b77f613d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Fri, 9 Aug 2024 14:09:01 +0200 Subject: [PATCH] Fix build with clang >= 19.0 Clang >= 19.0 requires a template argument list after the template keyword for CWG96 compliance, see https://github.com/llvm/llvm-project/pull/80801 --- gunzip.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gunzip.hh b/gunzip.hh index c0039d5..b1f7971 100644 --- a/gunzip.hh +++ b/gunzip.hh @@ -1137,21 +1137,21 @@ namespace gunzip_ns //fprintf(stderr, "both track flag\n"); SizeTracker tracker; return tracker(Gunzip - (tracker.template ForwardInput(i), tracker.template ForwardOutput(o), tracker.template ForwardWindow(c), std::forward(b))); + (tracker.template ForwardInput(i), tracker.template ForwardOutput(o), tracker.template ForwardWindow(c), std::forward(b))); } else if constexpr(code & Flag_TrackIn) { //fprintf(stderr, "in track flag\n"); SizeTracker tracker; return tracker(Gunzip - (tracker.template ForwardInput(i),std::forward(o),std::forward(c),std::forward(b))); + (tracker.template ForwardInput(i),std::forward(o),std::forward(c),std::forward(b))); } else if constexpr(code & Flag_TrackOut) { //fprintf(stderr, "out track flag\n"); SizeTracker tracker; return tracker(Gunzip - (std::forward(i), tracker.template ForwardOutput(o), tracker.template ForwardWindow(c), std::forward(b))); + (std::forward(i), tracker.template ForwardOutput(o), tracker.template ForwardWindow(c), std::forward(b))); } else {