aboutsummaryrefslogtreecommitdiff
path: root/Lib/perl5
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-12 22:04:58 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2019-02-13 22:45:47 +0000
commit6d0c495fd042a313e0a8d6a9d36209b92b9bf42b (patch)
tree6863db5822ec6940c0dfc3064c6b2a3aa54185da /Lib/perl5
parent8c207dd3a9eae0435f219b4e70f02a503cd66b49 (diff)
downloadswig-6d0c495fd042a313e0a8d6a9d36209b92b9bf42b.tar.gz
Add missing parameter names in STL container wrappers
Mostly in STL copy constructors. Best to have parameter names as they make their way into the wrappers in some target languages.
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 cd5a61120..8e2945fba 100644
--- a/Lib/perl5/std_list.i
+++ b/Lib/perl5/std_list.i
@@ -193,7 +193,7 @@ namespace std {
typedef const value_type& const_reference;
list();
- list(const list<T> &);
+ list(const list<T>& other);
unsigned int size() const;
bool empty() const;
@@ -346,7 +346,7 @@ namespace std {
typedef const value_type& const_reference;
list();
- list(const list<T> &);
+ list(const list<T>& other);
unsigned int size() const;
bool empty() const;
diff --git a/Lib/perl5/std_map.i b/Lib/perl5/std_map.i
index ae7c26601..fe9b6f3f1 100644
--- a/Lib/perl5/std_map.i
+++ b/Lib/perl5/std_map.i
@@ -28,7 +28,7 @@ namespace std {
typedef K key_type;
typedef T mapped_type;
map();
- map(const map< K, T, C > &);
+ map(const map< K, T, C >& other);
unsigned int size() const;
bool empty() const;
diff --git a/Lib/perl5/std_vector.i b/Lib/perl5/std_vector.i
index ec8449464..adfe95df6 100644
--- a/Lib/perl5/std_vector.i
+++ b/Lib/perl5/std_vector.i
@@ -185,7 +185,7 @@ namespace std {
typedef const value_type& const_reference;
vector(unsigned int size = 0);
vector(unsigned int size, const T& value);
- vector(const vector<T> &);
+ vector(const vector<T>& other);
unsigned int size() const;
bool empty() const;
@@ -357,7 +357,7 @@ namespace std {
typedef const value_type& const_reference;
vector(unsigned int size = 0);
vector(unsigned int size, T *value);
- vector(const vector<T *> &);
+ vector(const vector<T *>& other);
unsigned int size() const;
bool empty() const;
@@ -528,7 +528,7 @@ namespace std {
typedef const value_type& const_reference;
vector(unsigned int size = 0);
vector(unsigned int size, T value);
- vector(const vector<T> &);
+ vector(const vector<T>& other);
unsigned int size() const;
bool empty() const;