diff options
author | MichaĆ Janiszewski <janisozaur@users.noreply.github.com> | 2018-10-31 21:30:48 +0100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-10-31 13:30:48 -0700 |
commit | a374692390570b3efe4d4b4fe8894fd9c0b34d0f (patch) | |
tree | b4a530cb3c931c0066df13aaf0cc5a44e92f898b /src/inc | |
parent | b042303bf1139472854accc8fe444f4ed442da23 (diff) | |
download | coreclr-a374692390570b3efe4d4b4fe8894fd9c0b34d0f.tar.gz coreclr-a374692390570b3efe4d4b4fe8894fd9c0b34d0f.tar.bz2 coreclr-a374692390570b3efe4d4b4fe8894fd9c0b34d0f.zip |
Remove superfluous 'const' qualifier from trivial return types (#20652)
The 'const' used in this context has no meaning
Diffstat (limited to 'src/inc')
-rw-r--r-- | src/inc/shash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/inc/shash.h b/src/inc/shash.h index 1650ca15b4..05a8a9d1e0 100644 --- a/src/inc/shash.h +++ b/src/inc/shash.h @@ -117,8 +117,8 @@ class DefaultSHashTraits static const bool s_supports_remove = true; - static const ELEMENT Null() { return (const ELEMENT) 0; } - static const ELEMENT Deleted() { return (const ELEMENT) -1; } + static ELEMENT Null() { return (const ELEMENT) 0; } + static ELEMENT Deleted() { return (const ELEMENT) -1; } static bool IsNull(const ELEMENT &e) { return e == (const ELEMENT) 0; } static bool IsDeleted(const ELEMENT &e) { return e == (const ELEMENT) -1; } @@ -612,7 +612,7 @@ public: typedef typename PARENT::count_t count_t; static const bool s_supports_remove = false; - static const element_t Deleted() { UNREACHABLE(); } + static element_t Deleted() { UNREACHABLE(); } static bool IsDeleted(const element_t &e) { LIMITED_METHOD_DAC_CONTRACT; return false; } }; |