From 0c8832c42a8b60883e985be968daad462d8f7c1a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 22 Jan 2013 14:28:43 +0100 Subject: [PATCH] LineAndColumn::operator+= is not constexpr --- src/line_and_column.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;