From 24b2acfddea20bbcdb6c714dcdc96389ab4f54b5 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sun, 6 Jan 2019 12:06:48 +1100 Subject: Backport: Bug [#2068]. Fix some clang-tidy warnings. Backport of changeset 7195:ce4394f12c76. --- src/PositionCache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/PositionCache.cxx') 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_; -- cgit v1.2.3