From 6b9e66fe1f8ddc7dc95661da3bf4e63777ccda2c Mon Sep 17 00:00:00 2001 From: jopierron Date: Tue, 8 Mar 2022 07:37:57 +0000 Subject: [PATCH] Update Contact.cpp --- src/Contact.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }