diff options
-rw-r--r-- | llvm/include/llvm/ADT/MapVector.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/include/llvm/ADT/MapVector.h b/llvm/include/llvm/ADT/MapVector.h index 0727383310a..b10db611484 100644 --- a/llvm/include/llvm/ADT/MapVector.h +++ b/llvm/include/llvm/ADT/MapVector.h @@ -185,12 +185,9 @@ void MapVector<KeyT, ValueT, MapType, VectorType>::remove_if(Function Pred) { /// \brief A MapVector that performs no allocations if smaller than a certain /// size. template <typename KeyT, typename ValueT, unsigned N> -class SmallMapVector - : public MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>, - SmallVector<std::pair<KeyT, ValueT>, N>> { -public: - SmallMapVector() {} -}; +using SmallMapVector = + MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>, + SmallVector<std::pair<KeyT, ValueT>, N>>; } // end namespace llvm |