diff options
author | nyamatongwe <unknown> | 2011-07-11 11:17:48 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-07-11 11:17:48 +1000 |
commit | 0cf1225ab37cfb1426f47018c0c1e9e615ee1eef (patch) | |
tree | 59e341c45ce2e1fe6ef113dab72004b30895ddfc /src/PositionCache.h | |
parent | ebe47b5ef1aeb3d971b2166b9c3eae2f6fd25447 (diff) | |
download | scintilla-mirror-0cf1225ab37cfb1426f47018c0c1e9e615ee1eef.tar.gz |
Avoid shadowing of fields even for static methods to stop warnings.
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 6abec6e7e..c6076ea20 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -110,7 +110,7 @@ public: void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, int *positions_, unsigned int clock); void Clear(); bool Retrieve(unsigned int styleNumber_, const char *s_, unsigned int len_, int *positions_) const; - static int Hash(unsigned int styleNumber, const char *s, unsigned int len); + static int Hash(unsigned int styleNumber_, const char *s, unsigned int len); bool NewerThan(const PositionCacheEntry &other) const; void ResetClock(); }; |