1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +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
CVector<T>()
CVector()
{
m_Size = 0;
m_CurrentUsedSize = 0;
m_Data = NULL;
}
CVector<T>(const CVector<T> & other)
CVector(const CVector<T> & other)
{
// copy data
m_Data = new T [other.m_CurrentUsedSize];
@ -299,7 +299,7 @@ public:
m_Data[i] = other.m_Data[i];
}
~CVector<T>()
~CVector()
{
clear();
}