diff options
author | Neil <nyamatongwe@gmail.com> | 2021-10-26 08:52:34 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-10-26 08:52:34 +1100 |
commit | 51ee13281605a6d98f79cc610d022a5c02b3318b (patch) | |
tree | be94dd06aaf3e2f062d9d84461fe1320c08ebc4a | |
parent | a27ff81c16f9a383ba9530aca1c4ecd16c79fee7 (diff) | |
download | scintilla-mirror-51ee13281605a6d98f79cc610d022a5c02b3318b.tar.gz |
Mark method const as its a reader.
-rw-r--r-- | src/MarginView.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MarginView.cxx b/src/MarginView.cxx index d2aad0c39..cc243f41f 100644 --- a/src/MarginView.cxx +++ b/src/MarginView.cxx @@ -87,7 +87,7 @@ void DrawWrapMarker(Surface *surface, PRectangle rcPlace, XYPOSITION yBase; int yDir; XYPOSITION halfWidth; - Point At(XYPOSITION xRelative, XYPOSITION yRelative) noexcept { + Point At(XYPOSITION xRelative, XYPOSITION yRelative) const noexcept { return Point(xBase + xDir * xRelative + halfWidth, yBase + yDir * yRelative + halfWidth); } }; |