mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user