[clang-tidy] Remove redundant const

Found with readability-const-return-type

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-09-27 20:40:09 -07:00
committed by Paul Beckingham
parent 7f86b29aa9
commit 55d103c491
12 changed files with 36 additions and 36 deletions

View File

@@ -114,7 +114,7 @@ std::vector <std::string> Lexer::split (const std::string& text)
////////////////////////////////////////////////////////////////////////////////
// No L10N - these are for internal purposes.
const std::string Lexer::typeName (const Lexer::Type& type)
std::string Lexer::typeName (const Lexer::Type& type)
{
switch (type)
{