diff options
author | Dan Gohman <gohman@apple.com> | 2009-08-12 22:10:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-08-12 22:10:57 +0000 |
commit | 3dbe9443c80ab668ad5cc8547fdb874634f25818 (patch) | |
tree | 217ac479944faf363c1d09f76ff1b9eb70fbbd57 /include/llvm/ADT | |
parent | 745d9d3b20414f44393b9b80f4edd87080d250c5 (diff) | |
download | external_llvm-3dbe9443c80ab668ad5cc8547fdb874634f25818.zip external_llvm-3dbe9443c80ab668ad5cc8547fdb874634f25818.tar.gz external_llvm-3dbe9443c80ab668ad5cc8547fdb874634f25818.tar.bz2 |
This void is implicit in C++.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78848 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/DenseMap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/DenseMap.h b/include/llvm/ADT/DenseMap.h index 79672f9..b5862a9 100644 --- a/include/llvm/ADT/DenseMap.h +++ b/include/llvm/ADT/DenseMap.h @@ -426,7 +426,7 @@ class DenseMapIterator { protected: const BucketT *Ptr, *End; public: - DenseMapIterator(void) : Ptr(0), End(0) {} + DenseMapIterator() : Ptr(0), End(0) {} DenseMapIterator(const BucketT *Pos, const BucketT *E) : Ptr(Pos), End(E) { AdvancePastEmptyBuckets(); @@ -470,7 +470,7 @@ private: template<typename KeyT, typename ValueT, typename KeyInfoT, typename ValueInfoT> class DenseMapConstIterator : public DenseMapIterator<KeyT, ValueT, KeyInfoT> { public: - DenseMapConstIterator(void) : DenseMapIterator<KeyT, ValueT, KeyInfoT>() {} + DenseMapConstIterator() : DenseMapIterator<KeyT, ValueT, KeyInfoT>() {} DenseMapConstIterator(const std::pair<KeyT, ValueT> *Pos, const std::pair<KeyT, ValueT> *E) : DenseMapIterator<KeyT, ValueT, KeyInfoT>(Pos, E) { |