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
commit5476eada003a1fbc182676c625b767efb2c16e6f (patch)
treeaa2d89bf5f61cb359c8ff4a5b2dd14968965e50c /src/PositionCache.cxx
parent2e794b1ef52cb04e93f65906a266095bc8eae4f6 (diff)
downloadscintilla-mirror-5476eada003a1fbc182676c625b767efb2c16e6f.tar.gz
Bug [#2068]. Fix some clang-tidy warnings.
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 c5063ca10..b8829a571 100644
--- a/src/PositionCache.cxx
+++ b/src/PositionCache.cxx
@@ -683,7 +683,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_;