1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-03-01 22:29:15 +01:00

Remove deprecated syntax for compatibility

This commit is contained in:
icedrocket 2024-01-12 13:59:53 +09:00 committed by David Anderson
parent 6b8ae69227
commit e907e5293f

View File

@ -282,14 +282,14 @@ public:
}; };
// constructors / destructors // constructors / destructors
CVector<T>() CVector()
{ {
m_Size = 0; m_Size = 0;
m_CurrentUsedSize = 0; m_CurrentUsedSize = 0;
m_Data = NULL; m_Data = NULL;
} }
CVector<T>(const CVector<T> & other) CVector(const CVector<T> & other)
{ {
// copy data // copy data
m_Data = new T [other.m_CurrentUsedSize]; m_Data = new T [other.m_CurrentUsedSize];
@ -299,7 +299,7 @@ public:
m_Data[i] = other.m_Data[i]; m_Data[i] = other.m_Data[i];
} }
~CVector<T>() ~CVector()
{ {
clear(); clear();
} }