Use make_tuple, not initializer list syntax
gcc requires it. clang doesn't.
This commit is contained in:
parent
c59c98251b
commit
86bd6eaa75
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ ParseConflictManager::resolve(const ParseAction &new_action,
|
|||
const rules::Symbol &symbol) const {
|
||||
if (new_action.type < old_action.type) {
|
||||
auto opposite = resolve(old_action, new_action, symbol);
|
||||
return { !get<0>(opposite), get<1>(opposite), get<2>(opposite) };
|
||||
return make_tuple(!get<0>(opposite), get<1>(opposite), get<2>(opposite));
|
||||
}
|
||||
|
||||
switch (old_action.type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue