diff options
author | Zufu Liu <unknown> | 2019-01-06 12:06:48 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-01-06 12:06:48 +1100 |
commit | 24b2acfddea20bbcdb6c714dcdc96389ab4f54b5 (patch) | |
tree | 1a438cf0677801a264f5d6047118b001286b0d89 /src/PositionCache.h | |
parent | b7937365db8e0a049155fda1b31d2c3ff5321547 (diff) | |
download | scintilla-mirror-24b2acfddea20bbcdb6c714dcdc96389ab4f54b5.tar.gz |
Backport: Bug [#2068]. Fix some clang-tidy warnings.
Backport of changeset 7195:ce4394f12c76.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index 8aaead094..c3973eba9 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -150,7 +150,7 @@ public: void operator=(const PositionCacheEntry &) = delete; void operator=(PositionCacheEntry &&) = delete; ~PositionCacheEntry(); - void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, XYPOSITION *positions_, unsigned int clock_); + void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, const XYPOSITION *positions_, unsigned int clock_); void Clear(); bool Retrieve(unsigned int styleNumber_, const char *s_, unsigned int len_, XYPOSITION *positions_) const; static unsigned int Hash(unsigned int styleNumber_, const char *s, unsigned int len_); |