mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-26 22:53:16 -04:00
parser-inc: fix invalid template args for std::map<>
This fixes an interrogate warning.
This commit is contained in:
parent
a9b158192f
commit
0b19afa1a3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user