diff options
author | nyamatongwe <devnull@localhost> | 2011-07-11 11:17:48 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-07-11 11:17:48 +1000 |
commit | f6b5bf967bf310adb21269fc9b9c50801e7e4193 (patch) | |
tree | 1cd8a344b37005c4c9ebb983f6b8eec961069353 /src/PositionCache.h | |
parent | ae26c58db7902ce285311ff874890ad0da05e7fb (diff) | |
download | scintilla-mirror-f6b5bf967bf310adb21269fc9b9c50801e7e4193.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(); }; |