diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-14 18:53:05 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-14 18:53:05 +0000 |
commit | 6d27ead9c0d42588794ff582ecfe9af904d823b4 (patch) | |
tree | 4b24722fd99400ae7237068ce013eb7a8b8dc1d1 /Lib/lua | |
parent | dc34c39c533b76bf5d8fd13e47906f6a4de16800 (diff) | |
download | swig-6d27ead9c0d42588794ff582ecfe9af904d823b4.tar.gz |
Add STL container copy constructors where missing
Also provide consistent copy constructor declarations.
Diffstat (limited to 'Lib/lua')
-rw-r--r-- | Lib/lua/std_map.i | 2 | ||||
-rw-r--r-- | Lib/lua/std_vector.i | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Lib/lua/std_map.i b/Lib/lua/std_map.i index 5e21591e9..773b6d0c3 100644 --- a/Lib/lua/std_map.i +++ b/Lib/lua/std_map.i @@ -34,7 +34,7 @@ namespace std { typedef const value_type& const_reference; map(); - map(const map< K, T, C >& other); + map(const map& other); unsigned int size() const; bool empty() const; diff --git a/Lib/lua/std_vector.i b/Lib/lua/std_vector.i index 695862d66..9eb85e9e6 100644 --- a/Lib/lua/std_vector.i +++ b/Lib/lua/std_vector.i @@ -37,6 +37,7 @@ namespace std { vector(unsigned int); vector(const vector& other); vector(unsigned int,T); + unsigned int size() const; unsigned int max_size() const; bool empty() const; |