Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Legami::~Legami() {
- for (QVector<Account*>::iterator it=utenti->begin(); it!=utenti->end(); it++)
- delete *it;
- delete utenti;
- for (QVector<Gruppo*>::iterator it=gruppi->begin(); it!=gruppi->end(); it++)
- delete *it;
- delete gruppi;
- //delete db; VA QUI LA CANCELLAZIONE DEL DATABASE?
- cout << "~legami" << endl;
- }
Add Comment
Please, Sign In to add comment