From 0b19afa1a3f199dd7ef8260c5be247533a570279 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 15 Jun 2020 15:19:48 +0200 Subject: [PATCH] parser-inc: fix invalid template args for std::map<> This fixes an interrogate warning. --- dtool/src/parser-inc/map | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dtool/src/parser-inc/map b/dtool/src/parser-inc/map index cabeb219bc..c7e01a8aab 100644 --- a/dtool/src/parser-inc/map +++ b/dtool/src/parser-inc/map @@ -28,19 +28,19 @@ namespace std { template class allocator; } -template, class Allocator = std::allocator > > +template, class Allocator = std::allocator > > class map { public: typedef Key key_type; - typedef Element data_type; - typedef Element mapped_type; - typedef pair value_type; + typedef T data_type; + typedef T mapped_type; + typedef pair 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;