CvGameDeals::~CvGameDeals()
- Defined in
- CvDealClasses.cpp, line 1991
- Class
- CvGameDeals
- Not a hook point
- constructor or destructor
Code
1990/// Destructor1991CvGameDeals::~CvGameDeals()1992{1993 for(std::vector<std::pair<uint, CvDeal*> >::iterator it = m_Deals.begin();1994 it != m_Deals.end(); ++it)1995 {1996 delete(*it).second;1997 it->second = NULL;1998 }19992000 m_Deals.clear();2001}
Calls
std::_Vector_const_iterator::operator!=std::_Vector_iterator::operator*std::_Vector_iterator::operator++std::_Vector_iterator::operator->std::vector::beginstd::vector::clearstd::vector::end