From: Chris Lattner Date: Fri, 5 Oct 2007 17:40:38 +0000 (+0000) Subject: Mark count method const. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bca98326b6fd311c917fc2407b4b05d7c90f31b2;p=oota-llvm.git Mark count method const. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42639 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ADT/DenseSet.h b/include/llvm/ADT/DenseSet.h index 1a1de8b76f9..b19dc5e2fc3 100644 --- a/include/llvm/ADT/DenseSet.h +++ b/include/llvm/ADT/DenseSet.h @@ -38,7 +38,7 @@ public: TheMap.clear(); } - bool count(const ValueT &V) { + bool count(const ValueT &V) const { return TheMap.count(V); }