From 85237dd55cd67cf9f72a751f5a275a910350e5cd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 24 May 2013 00:04:54 +1000 Subject: Made methods const where they can be and are logically const as well. --- lexlib/Accessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlib/Accessor.h') diff --git a/lexlib/Accessor.h b/lexlib/Accessor.h index 2f28c1acd..9789f2b4a 100644 --- a/lexlib/Accessor.h +++ b/lexlib/Accessor.h @@ -24,7 +24,7 @@ class Accessor : public LexAccessor { public: PropSetSimple *pprops; Accessor(IDocument *pAccess_, PropSetSimple *pprops_); - int GetPropertyInt(const char *, int defaultValue=0); + int GetPropertyInt(const char *, int defaultValue=0) const; int IndentAmount(int line, int *flags, PFNIsCommentLeader pfnIsCommentLeader = 0); }; -- cgit v1.2.3