LineAndColumn::operator+= is not constexpr

This commit is contained in:
Maxime Coste 2013-01-22 14:28:43 +01:00
parent 1b53b92267
commit 0c8832c42a

View File

@ -20,7 +20,7 @@ struct LineAndColumn
return EffectiveType(line + other.line, column + other.column); return EffectiveType(line + other.line, column + other.column);
} }
constexpr EffectiveType& operator+=(const EffectiveType& other) EffectiveType& operator+=(const EffectiveType& other)
{ {
line += other.line; line += other.line;
column += other.column; column += other.column;