mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 15:25:54 -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 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 {
|
class map {
|
||||||
public:
|
public:
|
||||||
typedef Key key_type;
|
typedef Key key_type;
|
||||||
typedef Element data_type;
|
typedef T data_type;
|
||||||
typedef Element mapped_type;
|
typedef T mapped_type;
|
||||||
typedef pair<const Key, Element> value_type;
|
typedef pair<const Key, T> value_type;
|
||||||
typedef Compare key_compare;
|
typedef Compare key_compare;
|
||||||
|
|
||||||
typedef Element *pointer;
|
typedef T *pointer;
|
||||||
typedef const Element *const_pointer;
|
typedef const T *const_pointer;
|
||||||
typedef Element &reference;
|
typedef T &reference;
|
||||||
typedef const Element &const_reference;
|
typedef const T &const_reference;
|
||||||
|
|
||||||
class iterator;
|
class iterator;
|
||||||
class const_iterator;
|
class const_iterator;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user