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/zap/zapcode.h | |
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/zap/zapcode.h')
-rw-r--r-- | src/zap/zapcode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zap/zapcode.h b/src/zap/zapcode.h index 1e78051a13..ff59b1cdc8 100644 --- a/src/zap/zapcode.h +++ b/src/zap/zapcode.h @@ -317,7 +317,7 @@ class ZapMethodEntryPointTable return (count_t)(size_t)k.m_handle ^ (count_t)k.m_accessFlags; } - static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; } + static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; } static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; } }; @@ -517,7 +517,7 @@ class ZapUnwindDataTable return ZapBlob::SHashTraits::Hash(k.m_unwindData) ^ k.m_fIsFilterFunclet; } - static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; } + static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; } static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; } }; // Hashtable with all unwind data blobs. If two methods have unwind data @@ -638,7 +638,7 @@ class ZapGCInfoTable return ZapBlob::SHashTraits::Hash(k.m_gcInfo) ^ ZapBlob::SHashTraits::Hash(k.m_unwindInfo); } - static const element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; } + static element_t Null() { LIMITED_METHOD_CONTRACT; return NULL; } static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; } }; |