aboutsummaryrefslogtreecommitdiff
path: root/Lib/tcl
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/tcl
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/tcl')
-rw-r--r--Lib/tcl/std_map.i2
-rw-r--r--Lib/tcl/std_vector.i4
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/tcl/std_map.i b/Lib/tcl/std_map.i
index 96e7cae80..d59537922 100644
--- a/Lib/tcl/std_map.i
+++ b/Lib/tcl/std_map.i
@@ -27,7 +27,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/tcl/std_vector.i b/Lib/tcl/std_vector.i
index 3fc0fd61d..71913f389 100644
--- a/Lib/tcl/std_vector.i
+++ b/Lib/tcl/std_vector.i
@@ -210,7 +210,7 @@ namespace std {
public:
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;
@@ -361,7 +361,7 @@ namespace std {
public:
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;