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/std | |
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/std')
-rw-r--r-- | Lib/std/std_carray.swg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/std/std_carray.swg b/Lib/std/std_carray.swg index ebb20ce6a..de2a07627 100644 --- a/Lib/std/std_carray.swg +++ b/Lib/std/std_carray.swg @@ -28,8 +28,8 @@ namespace std { carray() { } - carray(const carray& c) { - std::copy(c.v, c.v + size(), v); + carray(const carray& other) { + std::copy(other.v, other.v + size(), v); } template <class _Iterator> |