diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-02-16 00:27:28 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-02-16 00:27:28 +0100 |
commit | 950e73503f41ab65396271d02e0331b85f302b29 (patch) | |
tree | 26f60a1ae95dbfd45cd7e6425220446774b82a42 /lout/misc.cc | |
parent | 7167b40921d0e0b47fa9ebdf9b5abe9db8752f59 (diff) |
lout: mark getters as const
Diffstat (limited to 'lout/misc.cc')
-rw-r--r-- | lout/misc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lout/misc.cc b/lout/misc.cc index d4db609e..8d630efc 100644 --- a/lout/misc.cc +++ b/lout/misc.cc @@ -151,7 +151,7 @@ void BitSet::intoStringBuffer(misc::StringBuffer *sb) sb->append("]"); } -bool BitSet::get(int i) +bool BitSet::get(int i) const { if (8 * i >= numBytes) return false; |