aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/PropSet.h4
1 files changed, 2 insertions, 2 deletions
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