ADT: Make MapVector::value_type and MapVector::size_type public. NFC.

llvm-svn: 327180
This commit is contained in:
Peter Collingbourne 2018-03-09 22:52:22 +00:00
parent 508a5b2466
commit a9098c66bf
1 changed files with 3 additions and 3 deletions

View File

@ -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;