Previously, OptionRowHandler was owned and freed by
ScreenOptionsMaster (and ScreenOptionsManageProfiles). Make it owned by OptionRow; the only pointer to them is where they're stored in the OptionRow. This eliminates the remaining association between m_OptionRowHandlers and m_pRows; that was confusing, because they're in different places, and aren't always the same size. It also simplifies using OptionRowHandlers.
This commit is contained in:
@@ -13,8 +13,6 @@ public:
|
||||
|
||||
protected:
|
||||
int m_iChangeMask;
|
||||
|
||||
vector<OptionRowHandler*> m_OptionRowHandlers;
|
||||
|
||||
protected:
|
||||
virtual void HandleScreenMessage( const ScreenMessage SM );
|
||||
|
||||
Reference in New Issue
Block a user