operator argument had to be const
This commit is contained in:
@@ -56,14 +56,14 @@ class btAlignedObjectArray
|
|||||||
|
|
||||||
#ifdef BT_ALLOW_ARRAY_COPY_OPERATOR
|
#ifdef BT_ALLOW_ARRAY_COPY_OPERATOR
|
||||||
public:
|
public:
|
||||||
SIMD_FORCE_INLINE btAlignedObjectArray<T>& operator=(btAlignedObjectArray<T> &other)
|
SIMD_FORCE_INLINE btAlignedObjectArray<T>& operator=(const btAlignedObjectArray<T> &other)
|
||||||
{
|
{
|
||||||
copyFromArray(other);
|
copyFromArray(other);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
#else//BT_ALLOW_ARRAY_COPY_OPERATOR
|
#else//BT_ALLOW_ARRAY_COPY_OPERATOR
|
||||||
private:
|
private:
|
||||||
SIMD_FORCE_INLINE btAlignedObjectArray<T>& operator=(btAlignedObjectArray<T> &other);
|
SIMD_FORCE_INLINE btAlignedObjectArray<T>& operator=(const btAlignedObjectArray<T> &other);
|
||||||
#endif//BT_ALLOW_ARRAY_COPY_OPERATOR
|
#endif//BT_ALLOW_ARRAY_COPY_OPERATOR
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|||||||
Reference in New Issue
Block a user