mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove redundant type qualifier:
The extra `const` type qualifier on the return type has no effect. Clang emits `-Wignored-qualifiers` warning with `-Wextra`.
This commit is contained in:
committed by
Nikolaos D. Bougalis
parent
93780c25f7
commit
c1c332f0b0
@@ -55,7 +55,7 @@ public:
|
||||
template <class Object>
|
||||
void writeResult (Object&);
|
||||
|
||||
static const char* const name()
|
||||
static char const* name()
|
||||
{
|
||||
return "ledger";
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
setVersion (obj);
|
||||
}
|
||||
|
||||
static const char* const name()
|
||||
static char const* name()
|
||||
{
|
||||
return "version";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user