aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-27 14:24:23 +0000
committernyamatongwe <unknown>2000-04-27 14:24:23 +0000
commit1f2618b4e963026ce4734174fea0a51857a6e409 (patch)
treedcadaf995a69dae056e041f030aefaf80cda1e09
parentfc4cd6be8393e7bb9a613bb27dd63b3fbb321497 (diff)
downloadscintilla-mirror-1f2618b4e963026ce4734174fea0a51857a6e409.tar.gz
Added const indicators to methods that are const.
-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