ADT: Make MapVector::value_type and MapVector::size_type public. NFC.
llvm-svn: 327180
This commit is contained in:
parent
508a5b2466
commit
a9098c66bf
|
@ -36,13 +36,13 @@ template<typename KeyT, typename ValueT,
|
|||
typename MapType = DenseMap<KeyT, unsigned>,
|
||||
typename VectorType = std::vector<std::pair<KeyT, ValueT>>>
|
||||
class MapVector {
|
||||
using value_type = typename VectorType::value_type;
|
||||
using size_type = typename VectorType::size_type;
|
||||
|
||||
MapType Map;
|
||||
VectorType Vector;
|
||||
|
||||
public:
|
||||
using value_type = typename VectorType::value_type;
|
||||
using size_type = typename VectorType::size_type;
|
||||
|
||||
using iterator = typename VectorType::iterator;
|
||||
using const_iterator = typename VectorType::const_iterator;
|
||||
using reverse_iterator = typename VectorType::reverse_iterator;
|
||||
|
|
Loading…
Reference in New Issue