[poincare] remove useless const qualifier on return type

This generated a lot of warnings in -Wextra:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
This commit is contained in:
Adrien Bertrand
2017-09-01 00:47:59 +02:00
parent 925f404382
commit 55dd5b4486
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ public:
static SpecialSymbols matrixSymbol(char index);
Symbol(char name);
Type type() const override;
const char name() const;
char name() const;
Expression * clone() const override;
bool valueEquals(const Expression * e) const override;
bool isMatrixSymbol() const;

View File

@@ -56,7 +56,7 @@ Expression::Type Symbol::type() const {
return Expression::Type::Symbol;
}
const char Symbol::name() const {
char Symbol::name() const {
return m_name;
}