diff options
Diffstat (limited to 'include/Platform.h')
-rw-r--r-- | include/Platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Platform.h b/include/Platform.h index 773ae2439..de661dba5 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -99,7 +99,7 @@ public: XYPOSITION x; XYPOSITION y; - explicit Point(XYPOSITION x_=0, XYPOSITION y_=0) : x(x_), y(y_) { + constexpr explicit Point(XYPOSITION x_=0, XYPOSITION y_=0) : x(x_), y(y_) { } static Point FromInts(int x_, int y_) { |