From c2ef95b678f394d03935542fc1243cb85ca49cc5 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 27 Apr 2000 14:24:23 +0000 Subject: Added const indicators to methods that are const. --- include/PropSet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index 27fd821a4..bc1599f38 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -75,7 +75,7 @@ public: else return 0; } - char operator[](int i) { + char operator[](int i) const { if (s) return s[i]; else @@ -95,7 +95,7 @@ public: } return *this; } - int value() { + int value() const { if (s) return atoi(s); else -- cgit v1.2.3