LineAndColumn::operator+= is not constexpr
This commit is contained in:
parent
1b53b92267
commit
0c8832c42a
|
@ -20,7 +20,7 @@ struct LineAndColumn
|
|||
return EffectiveType(line + other.line, column + other.column);
|
||||
}
|
||||
|
||||
constexpr EffectiveType& operator+=(const EffectiveType& other)
|
||||
EffectiveType& operator+=(const EffectiveType& other)
|
||||
{
|
||||
line += other.line;
|
||||
column += other.column;
|
||||
|
|
Loading…
Reference in New Issue
Block a user