[llvm] r182493 - Fix StringMapIterator compile errors for non-MSVC compilers.

Reid Kleckner reid at kleckner.net
Wed May 22 10:32:16 PDT 2013


Author: rnk
Date: Wed May 22 12:32:15 2013
New Revision: 182493

URL: http://llvm.org/viewvc/llvm-project?rev=182493&view=rev
Log:
Fix StringMapIterator compile errors for non-MSVC compilers.

Modified:
    llvm/trunk/include/llvm/ADT/StringMap.h

Modified: llvm/trunk/include/llvm/ADT/StringMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/StringMap.h?rev=182493&r1=182492&r2=182493&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/StringMap.h (original)
+++ llvm/trunk/include/llvm/ADT/StringMap.h Wed May 22 12:32:15 2013
@@ -457,7 +457,7 @@ private:
 template<typename ValueTy>
 class StringMapIterator : public StringMapConstIterator<ValueTy> {
 public:
-  StringMapIterator() : StringMapConstIterator() {}
+  StringMapIterator() : StringMapConstIterator<ValueTy>() {}
   explicit StringMapIterator(StringMapEntryBase **Bucket,
                              bool NoAdvance = false)
     : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {





More information about the llvm-commits mailing list