aboutsummaryrefslogtreecommitdiff
path: root/Lib/std/std_list.i
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/std/std_list.i')
-rw-r--r--Lib/std/std_list.i4
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);