summaryrefslogtreecommitdiff
path: root/Lib/perl5
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-14 18:53:05 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-14 18:53:05 +0000
commit6d27ead9c0d42588794ff582ecfe9af904d823b4 (patch)
tree4b24722fd99400ae7237068ce013eb7a8b8dc1d1 /Lib/perl5
parentdc34c39c533b76bf5d8fd13e47906f6a4de16800 (diff)
downloadswig-6d27ead9c0d42588794ff582ecfe9af904d823b4.tar.gz
Add STL container copy constructors where missing
Also provide consistent copy constructor declarations.
Diffstat (limited to 'Lib/perl5')
-rw-r--r--Lib/perl5/std_list.i4
-rw-r--r--Lib/perl5/std_map.i2
-rw-r--r--Lib/perl5/std_vector.i6
3 files changed, 6 insertions, 6 deletions
diff --git a/Lib/perl5/std_list.i b/Lib/perl5/std_list.i
index d42e3d8ef..36678add2 100644
--- a/Lib/perl5/std_list.i
+++ b/Lib/perl5/std_list.i
@@ -197,7 +197,7 @@ namespace std {
typedef const value_type& const_reference;
list();
- list(const list<T>& other);
+ list(const list& other);
unsigned int size() const;
bool empty() const;
@@ -350,7 +350,7 @@ namespace std {
typedef const value_type& const_reference;
list();
- list(const list<T>& other);
+ list(const list& other);
unsigned int size() const;
bool empty() const;
diff --git a/Lib/perl5/std_map.i b/Lib/perl5/std_map.i
index 91a2acd06..1b3731832 100644
--- a/Lib/perl5/std_map.i
+++ b/Lib/perl5/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/perl5/std_vector.i b/Lib/perl5/std_vector.i
index a0c26192e..5bfd2c5ac 100644
--- a/Lib/perl5/std_vector.i
+++ b/Lib/perl5/std_vector.i
@@ -190,7 +190,7 @@ namespace std {
vector(unsigned int size = 0);
vector(unsigned int size, const T& value);
- vector(const vector<T>& other);
+ vector(const vector& other);
unsigned int size() const;
bool empty() const;
@@ -367,7 +367,7 @@ namespace std {
vector(unsigned int size = 0);
vector(unsigned int size, T *value);
- vector(const vector<T *>& other);
+ vector(const vector& other);
unsigned int size() const;
bool empty() const;
@@ -543,7 +543,7 @@ namespace std {
vector(unsigned int size = 0);
vector(unsigned int size, T value);
- vector(const vector<T>& other);
+ vector(const vector& other);
unsigned int size() const;
bool empty() const;