diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-23 09:09:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-23 09:09:03 +0000 |
commit | ecf533791cbfc35314ce73add925116bf25f4965 (patch) | |
tree | 185e8e778562a8d8ad5a741c08e44f57e6eb94b7 /starmath/inc | |
parent | 6b4ce3ee9163cf1f9ea1d7193027b9ba5e10a0f6 (diff) |
this can be const
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/symbol.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index c855e652bd84..0fcaa032ff36 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -139,7 +139,7 @@ typedef std::vector< const SmSym * > SymbolPtrVec_t; struct lt_SmSymPtr : public std::binary_function< const SmSym *, const SmSym *, bool > { - bool operator() ( const SmSym *pSym1, const SmSym *pSym2 ) + bool operator() ( const SmSym *pSym1, const SmSym *pSym2 ) const { return pSym1->GetCharacter() < pSym2->GetCharacter(); } |