Guest User

Untitled

a guest
Nov 24th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.35 KB | None | 0 0
  1. Legami::~Legami() {
  2.     for (QVector<Account*>::iterator it=utenti->begin(); it!=utenti->end(); it++)
  3.         delete *it;
  4.     delete utenti;
  5.  
  6.     for (QVector<Gruppo*>::iterator it=gruppi->begin(); it!=gruppi->end(); it++)
  7.         delete *it;
  8.     delete gruppi;
  9.     //delete db; VA QUI LA CANCELLAZIONE DEL DATABASE?
  10.     cout << "~legami" << endl;
  11. }
Add Comment
Please, Sign In to add comment