From 4be2064d5dc600db8e61b6ef36fe1c6ce8283ca8 Mon Sep 17 00:00:00 2001 From: hit9 Date: Fri, 13 Sep 2024 17:31:34 +0800 Subject: [PATCH] old version llvm(clang) won't work on duplicated name type arg --- Source/bt.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/bt.h b/Source/bt.h index ddef992..f1bf23b 100644 --- a/Source/bt.h +++ b/Source/bt.h @@ -1340,25 +1340,25 @@ namespace bt } template - template + template auto& Builder::Not(ConditionArgs... args) { - return C("Not", Make(false, std::forward(args)...)); + return C("Not", Make(false, std::forward(args)...)); } template - template + template auto& Builder::If(ConditionArgs&&... args) { - auto condition = Make(false, std::forward(args)...); + auto condition = Make(false, std::forward(args)...); return C(std::move(condition), "If"); } template - template + template auto& Builder::Case(ConditionArgs&&... args) { - auto condition = Make(false, std::forward(args)...); + auto condition = Make(false, std::forward(args)...); return C(std::move(condition), "Case"); } @@ -1400,7 +1400,7 @@ namespace bt if (!skipActtach) OnNodeAttach(*p, root); return p; - }; + } } // namespace bt