parser-inc: fix invalid template args for std::map<>

This fixes an interrogate warning.
This commit is contained in:
rdb 2020-06-15 15:19:48 +02:00
parent a9b158192f
commit 0b19afa1a3

View File

@ -28,19 +28,19 @@ namespace std {
template<class T> class allocator;
}
template<class Key, class Element, class Compare = less<Key>, class Allocator = std::allocator<pair<const Key, T> > >
template<class Key, class T, class Compare = less<Key>, class Allocator = std::allocator<pair<const Key, T> > >
class map {
public:
typedef Key key_type;
typedef Element data_type;
typedef Element mapped_type;
typedef pair<const Key, Element> value_type;
typedef T data_type;
typedef T mapped_type;
typedef pair<const Key, T> value_type;
typedef Compare key_compare;
typedef Element *pointer;
typedef const Element *const_pointer;
typedef Element &reference;
typedef const Element &const_reference;
typedef T *pointer;
typedef const T *const_pointer;
typedef T &reference;
typedef const T &const_reference;
class iterator;
class const_iterator;