From 6d27ead9c0d42588794ff582ecfe9af904d823b4 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 14 Feb 2019 18:53:05 +0000 Subject: Add STL container copy constructors where missing Also provide consistent copy constructor declarations. --- Lib/std/std_carray.swg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/std') 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 -- cgit v1.2.1