Skip to content
Snippets Groups Projects
Commit e5213674 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

value: fix compilation on older clang

parent b9cc8488
Branches
Tags
No related merge requests found
......@@ -156,7 +156,7 @@ struct Value
}, std::placeholders::_1, std::move(set));
}
static Filter chain(std::initializer_list<Filter> l) {
return chainAll({l.begin(), l.end()});
return chainAll(std::vector<Filter>(l.begin(), l.end()));
}
static Filter chainOr(Filter&& f1, Filter&& f2) {
if (not f1 or not f2) return AllFilter();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment