mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
Revert "Just use a using directive in SmallMapVector instead of inheriting from MapVector itself."
This reverts commit r225059. I think MSVC 2012 has a problem with this. This is an attempt to fix one of the MSVC 2012 bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4b77e07165
commit
31379e2e69
@ -185,9 +185,12 @@ 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>
|
||||
using SmallMapVector =
|
||||
MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>,
|
||||
SmallVector<std::pair<KeyT, ValueT>, N>>;
|
||||
class SmallMapVector
|
||||
: public MapVector<KeyT, ValueT, SmallDenseMap<KeyT, unsigned, N>,
|
||||
SmallVector<std::pair<KeyT, ValueT>, N>> {
|
||||
public:
|
||||
SmallMapVector() {}
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user