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/vm/codeversion.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/vm/codeversion.h')
-rw-r--r-- | src/vm/codeversion.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/codeversion.h b/src/vm/codeversion.h index 6dddacc69d..39b03f0454 100644 --- a/src/vm/codeversion.h +++ b/src/vm/codeversion.h @@ -487,7 +487,7 @@ public: return (count_t)(size_t)dac_cast<TADDR>(k); } - static const element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_MethodDescVersioningState>(nullptr); } + static element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_MethodDescVersioningState>(nullptr); } static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; } }; @@ -549,7 +549,7 @@ public: return (count_t)k.Hash(); } - static const element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_ILCodeVersioningState>(nullptr); } + static element_t Null() { LIMITED_METHOD_CONTRACT; return dac_cast<PTR_ILCodeVersioningState>(nullptr); } static bool IsNull(const element_t &e) { LIMITED_METHOD_CONTRACT; return e == NULL; } }; |