Author: lattner
Date: Fri Oct 5 12:40:38 2007
New Revision: 42639
URL: http://llvm.org/viewvc/llvm-project?rev=42639&view=rev
Log:
Mark count method const.
Modified:
llvm/trunk/include/llvm/ADT/DenseSet.h
Modified: llvm/trunk/include/llvm/ADT/DenseSet.h
URL:
http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/DenseSet.h?rev=42639&r1=42638&r2=42639&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/DenseSet.h (original)
+++ llvm/trunk/include/llvm/ADT/DenseSet.h Fri Oct 5 12:40:38 2007
@@ -38,7 +38,7 @@
TheMap.clear();
}
- bool count(const ValueT &V) {
+ bool count(const ValueT &V) const {
return TheMap.count(V);
}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits