Skip to content

Commit 982c83e

Browse files
committed
fix: update cpp2util.h
1 parent 2a9fc6d commit 982c83e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cpp2util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ class out {
716716

717717

718718
#define CPP2_UFCS_REMPARENS(...) __VA_ARGS__
719-
#define CPP2_UFCS(LAMBDADEFCAPT,TEMPKW,FUNCNAME,PARAM1,COMMA,...) \
719+
#define CPP2_UFCS(LAMBDADEFCAPT,TEMPKW,FUNCNAME,PARAM1,...) \
720720
[LAMBDADEFCAPT] CPP2_LAMBDA_NO_DISCARD (auto&& obj, auto&& ...params) CPP2_FORCE_INLINE_LAMBDA_CLANG \
721721
noexcept(requires { requires requires { CPP2_FORWARD(obj).TEMPKW CPP2_UFCS_REMPARENS FUNCNAME(CPP2_FORWARD(params)...); }; \
722722
requires noexcept(CPP2_FORWARD(obj).TEMPKW CPP2_UFCS_REMPARENS FUNCNAME(CPP2_FORWARD(params)...)); } \
@@ -730,7 +730,7 @@ class out {
730730
} else { \
731731
return CPP2_UFCS_REMPARENS FUNCNAME(CPP2_FORWARD(obj), CPP2_FORWARD(params)...); \
732732
} \
733-
}(PARAM1 CPP2_UFCS_REMPARENS COMMA __VA_ARGS__)
733+
}(PARAM1 CPP2_UFCS_REMPARENS __VA_ARGS__)
734734

735735

736736
//-----------------------------------------------------------------------

0 commit comments

Comments
 (0)