aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2019-01-06 12:06:48 +1100
committerZufu Liu <unknown>2019-01-06 12:06:48 +1100
commit24b2acfddea20bbcdb6c714dcdc96389ab4f54b5 (patch)
tree1a438cf0677801a264f5d6047118b001286b0d89 /src/PositionCache.cxx
parentb7937365db8e0a049155fda1b31d2c3ff5321547 (diff)
downloadscintilla-mirror-24b2acfddea20bbcdb6c714dcdc96389ab4f54b5.tar.gz
Backport: Bug [#2068]. Fix some clang-tidy warnings.
Backport of changeset 7195:ce4394f12c76.
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r--src/PositionCache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx
index e27699bfe..3b3014ab5 100644
--- a/src/PositionCache.cxx
+++ b/src/PositionCache.cxx
@@ -575,7 +575,7 @@ PositionCacheEntry::PositionCacheEntry(const PositionCacheEntry &other) :
}
void PositionCacheEntry::Set(unsigned int styleNumber_, const char *s_,
- unsigned int len_, XYPOSITION *positions_, unsigned int clock_) {
+ unsigned int len_, const XYPOSITION *positions_, unsigned int clock_) {
Clear();
styleNumber = styleNumber_;
len = len_;