diff --git a/src/Contact.cpp b/src/Contact.cpp index d302b17..d52ac75 100644 --- a/src/Contact.cpp +++ b/src/Contact.cpp @@ -2,6 +2,7 @@ #include "Contact.hpp" using namespace std; +using namespace reseau; Contact::Contact(const Personne& Proprietaire): Proprietaire{Proprietaire} { cout << "Contact créé " << Proprietaire << "\n"; @@ -20,6 +21,6 @@ Contact::Contact(const Personne& Proprietaire): Proprietaire{Proprietaire} { // string recevoirMessage(std::string texte, Personne p) -ostream& operator<<(ostream& os, Personne p){ +ostream& reseau::operator<<(ostream& os, Personne p){ return os << p.getNom() << " " << p.getPrenom() << " " << p.getNumTel(); }