mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix incorrect ICVarIteratorInternal function order
The destructor is the last function.
This commit is contained in:
parent
ef69611435
commit
33dfe63f67
@ -112,12 +112,12 @@ protected:
|
||||
class ICVarIteratorInternal
|
||||
{
|
||||
public:
|
||||
virtual ~ICVarIteratorInternal(void) { }
|
||||
|
||||
virtual void SetFirst(void) = 0;
|
||||
virtual void Next(void) = 0;
|
||||
virtual bool IsValid(void) = 0;
|
||||
virtual ConCommandBase* Get(void) = 0;
|
||||
|
||||
virtual ~ICVarIteratorInternal(void) { }
|
||||
};
|
||||
|
||||
virtual ICVarIteratorInternal* FactoryInternalIterator(void) = 0;
|
||||
|
@ -88,13 +88,14 @@ protected:
|
||||
class CCVarIteratorInternal : public ICVarIteratorInternal
|
||||
{
|
||||
public:
|
||||
virtual ~CCVarIteratorInternal() { }
|
||||
|
||||
virtual void SetFirst(void) = 0;
|
||||
virtual void Next(void) = 0;
|
||||
virtual bool IsValid(void) = 0;
|
||||
virtual ConCommandBase* Get(void) = 0;
|
||||
|
||||
virtual ~CCVarIteratorInternal() { }
|
||||
|
||||
CCvar* const m_pOuter = nullptr;
|
||||
CConCommandHash* const m_pHash = nullptr;
|
||||
CConCommandHash::CCommandHashIterator_t m_hashIter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user