diff --git a/src/Contact.cpp b/src/Contact.cpp index 84582a6..01c3e6c 100644 --- a/src/Contact.cpp +++ b/src/Contact.cpp @@ -75,7 +75,7 @@ void Contact::afficherContactDirect() { void Contact::afficherContactIndirect() { cout << lesContacts.size() << " Les contacts directs et indirects de " << this->Proprietaire << " sont : "; - if(lesContacts.size()==0) + if(lesContacts.empty()) cout << " Aucun contact "; cout << "\n"; }