summaryrefslogtreecommitdiff
path: root/src/ilasm
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/ilasm
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/ilasm')
-rw-r--r--src/ilasm/assembler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ilasm/assembler.cpp b/src/ilasm/assembler.cpp
index 74190b7e0c..93198a521d 100644
--- a/src/ilasm/assembler.cpp
+++ b/src/ilasm/assembler.cpp
@@ -193,7 +193,7 @@ public:
return memcmp(ptr_, t->ptr_, len_);
}
// The only public data we need
- const mdToken Token() const { return token_; }
+ mdToken Token() const { return token_; }
};
static RBTREE<TypeSpecContainer> typeSpecCache;