From 835233fb7128db46389262a8bb23b623b9359ee4 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Wed, 17 Jan 2018 23:58:28 +0100 Subject: Added missing copy constructors and assign operators to PoolVectors --- include/core/PoolArrays.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include/core') diff --git a/include/core/PoolArrays.hpp b/include/core/PoolArrays.hpp index 17f08a6..b1c8fec 100644 --- a/include/core/PoolArrays.hpp +++ b/include/core/PoolArrays.hpp @@ -64,6 +64,8 @@ public: }; PoolByteArray(); + PoolByteArray(const PoolByteArray &p_other); + PoolByteArray &operator=(const PoolByteArray & p_other); PoolByteArray(const Array& array); @@ -143,6 +145,8 @@ public: }; PoolIntArray(); + PoolIntArray(const PoolIntArray &p_other); + PoolIntArray &operator=(const PoolIntArray &p_other); PoolIntArray(const Array& array); @@ -222,6 +226,8 @@ public: }; PoolRealArray(); + PoolRealArray(const PoolRealArray &p_other); + PoolRealArray &operator=(const PoolRealArray &p_other); PoolRealArray(const Array& array); @@ -301,6 +307,8 @@ public: }; PoolStringArray(); + PoolStringArray(const PoolStringArray &p_other); + PoolStringArray &operator=(const PoolStringArray &p_other); PoolStringArray(const Array& array); @@ -381,6 +389,8 @@ public: }; PoolVector2Array(); + PoolVector2Array(const PoolVector2Array &p_other); + PoolVector2Array &operator=(const PoolVector2Array &p_other); PoolVector2Array(const Array& array); @@ -460,6 +470,8 @@ public: }; PoolVector3Array(); + PoolVector3Array(const PoolVector3Array &p_other); + PoolVector3Array &operator=(const PoolVector3Array &p_other); PoolVector3Array(const Array& array); @@ -539,6 +551,8 @@ public: }; PoolColorArray(); + PoolColorArray(const PoolColorArray &p_other); + PoolColorArray &operator=(const PoolColorArray &p_other); PoolColorArray(const Array& array); -- cgit v1.2.3