diff options
author | Chris Lattner <sabre@nondot.org> | 2007-10-05 17:40:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-10-05 17:40:38 +0000 |
commit | bca98326b6fd311c917fc2407b4b05d7c90f31b2 (patch) | |
tree | 705efba4d7edf359534ad159e6346f065d5b4bec /include | |
parent | 52c0253f04e9641436f0997b95a0c60266da3c26 (diff) | |
download | external_llvm-bca98326b6fd311c917fc2407b4b05d7c90f31b2.zip external_llvm-bca98326b6fd311c917fc2407b4b05d7c90f31b2.tar.gz external_llvm-bca98326b6fd311c917fc2407b4b05d7c90f31b2.tar.bz2 |
Mark count method const.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/DenseSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/DenseSet.h b/include/llvm/ADT/DenseSet.h index 1a1de8b..b19dc5e 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); } |