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/binder/inc/applicationcontext.hpp | |
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/binder/inc/applicationcontext.hpp')
-rw-r--r-- | src/binder/inc/applicationcontext.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binder/inc/applicationcontext.hpp b/src/binder/inc/applicationcontext.hpp index 9c8926207c..cd1a2455e4 100644 --- a/src/binder/inc/applicationcontext.hpp +++ b/src/binder/inc/applicationcontext.hpp @@ -38,7 +38,7 @@ namespace BINDER_SPACE typedef PCWSTR key_t; static const FileNameMapEntry Null() { FileNameMapEntry e; e.m_wszFileName = nullptr; return e; } static bool IsNull(const FileNameMapEntry & e) { return e.m_wszFileName == nullptr; } - static const key_t GetKey(const FileNameMapEntry & e) + static key_t GetKey(const FileNameMapEntry & e) { key_t key; key = e.m_wszFileName; @@ -65,7 +65,7 @@ namespace BINDER_SPACE typedef PCWSTR key_t; static const SimpleNameToFileNameMapEntry Null() { SimpleNameToFileNameMapEntry e; e.m_wszSimpleName = nullptr; return e; } static bool IsNull(const SimpleNameToFileNameMapEntry & e) { return e.m_wszSimpleName == nullptr; } - static const key_t GetKey(const SimpleNameToFileNameMapEntry & e) + static key_t GetKey(const SimpleNameToFileNameMapEntry & e) { key_t key; key = e.m_wszSimpleName; |