From 3ec1f88dbee86a9151a7a9adf92338f71330bb13 Mon Sep 17 00:00:00 2001 From: jopierron Date: Tue, 8 Mar 2022 07:32:10 +0000 Subject: [PATCH] Update Contact.hpp --- src/Contact.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Contact.hpp b/src/Contact.hpp index fc29436..9774fad 100644 --- a/src/Contact.hpp +++ b/src/Contact.hpp @@ -2,12 +2,13 @@ #define CONTACT_hpp #include"Personne.hpp" #include +#include class Contact { - Personne Proprietaire const; + Personne Proprietaire; std::list lesContacts{}; public: - Contact(const Personne& P); + Contact(const Personne& Proprietaire); void ajouterContact(const Personne& unContact); bool supprimerContact(const Personne& unContact); // void envoyerMessage(std::string texte, Personne p); @@ -15,4 +16,7 @@ public: // ~Contact(); }; +std::ostream& operator<<(std::ostream& os, Personne p); + #endif +