sigh: minor changes

This commit is contained in:
skypjack
2026-02-04 09:59:05 +01:00
parent 4e191a95f4
commit 7fd8c1d2b1

View File

@@ -203,14 +203,12 @@ public:
} else {
func();
}
} else {
if constexpr(std::is_invocable_r_v<bool, Func, Ret>) {
if(func(calls[pos - 1u](args...))) {
break;
}
} else {
func(calls[pos - 1u](args...));
} else if constexpr(std::is_invocable_r_v<bool, Func, Ret>) {
if(func(calls[pos - 1u](args...))) {
break;
}
} else {
func(calls[pos - 1u](args...));
}
}
}