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:
parent
6b8ae69227
commit
e907e5293f
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user