Skip to content

Commit

Permalink
Remove deprecated syntax for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
icedrocket authored and dvander committed Jan 12, 2024
1 parent 6b8ae69 commit e907e52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/sourcehook/sh_vector.h
Expand Up @@ -282,14 +282,14 @@ template <class T> class CVector
};

// 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];
Expand All @@ -299,7 +299,7 @@ template <class T> class CVector
m_Data[i] = other.m_Data[i];
}

~CVector<T>()
~CVector()
{
clear();
}
Expand Down

0 comments on commit e907e52

Please sign in to comment.