File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,9 +87,9 @@ void loopOverTypesBreak() {
8787 int float_count = 0 ;
8888 UT_PACK_FOR_T (I, Ts, {
8989 count++;
90- if constexpr (std::is_same_v<I, float >) {
90+ if (std::is_same_v<I, float >) {
9191 float_count++;
92- } else if constexpr (std::is_same_v<I, double >) {
92+ } else if (std::is_same_v<I, double >) {
9393 UT_PACK_BREAK;
9494 }
9595 });
@@ -102,9 +102,9 @@ void loopOverTypesContinue() {
102102 int count = 0 ;
103103 int float_count = 0 ;
104104 UT_PACK_FOR_T (I, Ts, {
105- if constexpr (std::is_same_v<I, float >) {
105+ if (std::is_same_v<I, float >) {
106106 float_count++;
107- } else if constexpr (std::is_same_v<I, double >) {
107+ } else if (std::is_same_v<I, double >) {
108108 UT_PACK_CONTINUE;
109109 }
110110 count++;
You can’t perform that action at this time.
0 commit comments