3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 09:55:20 +00:00

kernel: fix formatting (thanks @boqwxp)

This commit is contained in:
Eddie Hung 2020-03-16 12:58:55 -07:00
parent 7bcbf0c9d1
commit 18d85b88ae

View file

@ -363,8 +363,6 @@ namespace RTLIL
template<typename... Args>
bool in(Args... args) const {
//return in(first) || in(rest...);
// Credit: https://articles.emptycrate.com/2016/05/14/folds_in_cpp11_ish.html
bool result = false;
(void) std::initializer_list<int>{ (result = result || in(args), 0)... };