From 16ab359cf27ad35fdba9b6f10e5ab90b737617a5 Mon Sep 17 00:00:00 2001 From: starnakin Date: Mon, 10 Jul 2023 18:28:46 +0200 Subject: [PATCH] fix : put len in public --- ex01/src/PhoneBook.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex01/src/PhoneBook.hpp b/ex01/src/PhoneBook.hpp index f93cfbe..3b71cf1 100644 --- a/ex01/src/PhoneBook.hpp +++ b/ex01/src/PhoneBook.hpp @@ -6,9 +6,9 @@ class PhoneBook { private: Contact contacts[8]; size_t number; - size_t len; public: + size_t len; PhoneBook(); void add_contact(Contact &new_contact);