Mark count method const.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42639 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-10-05 17:40:38 +00:00
parent 52c0253f04
commit bca98326b6

View File

@ -38,7 +38,7 @@ public:
TheMap.clear();
}
bool count(const ValueT &V) {
bool count(const ValueT &V) const {
return TheMap.count(V);
}