diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-14 07:31:21 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-14 07:31:21 +0000 |
commit | 440264e4797b0941f410dbfe6385285dd0daa20b (patch) | |
tree | 6ad7f4c96bab21623a9e77fd4d6733a86be454a6 /Lib/std | |
parent | e26f6bb4e21b7adc90fcd916ec3cbd39e583637e (diff) | |
download | swig-440264e4797b0941f410dbfe6385285dd0daa20b.tar.gz |
Add missing typedefs to std::list + typedef corrections
Numerous missing typedefs added.
std::list<T*>::const_reference and std::list<T*>::reference
specialization typedef fixes.
Diffstat (limited to 'Lib/std')
-rw-r--r-- | Lib/std/std_list.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/std/std_list.i b/Lib/std/std_list.i index ebbafa22b..2cc2d97cf 100644 --- a/Lib/std/std_list.i +++ b/Lib/std/std_list.i @@ -106,8 +106,8 @@ namespace std { typedef _Tp* value_type; typedef value_type* pointer; typedef const value_type* const_pointer; - typedef value_type reference; - typedef value_type const_reference; + typedef value_type& reference; + typedef const value_type& const_reference; typedef _Alloc allocator_type; %traits_swigtype(_Tp); |