Original Post
Im just wondering if this is safe:
Because I'm getting a strange error i've never really had before during debug: DAMAGE: After normal block blah blah ....
I'm not quite certain what it is, but it happens when I try and quit the app. Any help would be appreciated!
EDIT: Just in case this is important, CAsset is a Base class pointer, And whatever is in manager is derived from it.
[edited by - laroche on December 30, 2002 8:52:50 PM]
void CManager::Release()
{
for (std::vector<CAsset*>::iterator i = AssetVector.begin(); i != AssetVector.end(); ++i)
{
CAsset* p = (*i);
delete p;
}
}