From 950e73503f41ab65396271d02e0331b85f302b29 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 16 Feb 2014 00:27:28 +0100 Subject: lout: mark getters as const --- lout/misc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lout/misc.cc') 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; -- cgit v1.2.3