summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-01-22 14:28:43 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-01-22 14:28:43 +0100
commit0c8832c42a8b60883e985be968daad462d8f7c1a (patch)
tree144a1f267e2a27f9aee8a002dd02ad42d2ed7296 /src
parent1b53b92267b68645d857d68bf12d054d7a5ea5d3 (diff)
LineAndColumn::operator+= is not constexpr
Diffstat (limited to 'src')
-rw-r--r--src/line_and_column.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/line_and_column.hh b/src/line_and_column.hh
index aaffb222..5194dca2 100644
--- a/src/line_and_column.hh
+++ b/src/line_and_column.hh
@@ -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;