summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-02-23 09:09:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-02-23 09:09:03 +0000
commit5d766a22248f7f95101e19822459f2877dc91d60 (patch)
treecfa1a7aaeead3e7a0430e94809654dc6ecad65a2 /starmath
parent8f39e7ac1de3201638ac97ad908f038ddb9ac4a4 (diff)
this can be const
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/symbol.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx
index 7740dcaf73..885bbf08e3 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();
}