summaryrefslogtreecommitdiff
path: root/src/zap/zapcode.h
diff options
context:
space:
mode:
authorMichaƂ Janiszewski <janisozaur@users.noreply.github.com>2018-10-31 21:30:48 +0100
committerJan Kotas <jkotas@microsoft.com>2018-10-31 13:30:48 -0700
commita374692390570b3efe4d4b4fe8894fd9c0b34d0f (patch)
treeb4a530cb3c931c0066df13aaf0cc5a44e92f898b /src/zap/zapcode.h
parentb042303bf1139472854accc8fe444f4ed442da23 (diff)
downloadcoreclr-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.h6
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; }
};