Fix StringMapIterator compile errors for non-MSVC compilers.
authorReid Kleckner <reid@kleckner.net>
Wed, 22 May 2013 17:32:15 +0000 (17:32 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 22 May 2013 17:32:15 +0000 (17:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182493 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/StringMap.h

index 2e07268596ae3a834cf8f5494461421607efe5f0..1d5d227aea784b64c56822b70564c3fcb7bf6899 100644 (file)
@@ -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) {