clean: remove debug print

This commit is contained in:
Camille Chauvet 2023-06-22 13:29:18 +02:00
parent bfda0a7548
commit 585571872e

View File

@ -49,7 +49,6 @@ void PhoneBook::display_contacts()
Contact* PhoneBook::search(int index)
{
std::cout << this->len << " " << index << std::endl;
if ((size_t) index >= this->len || index < 0)
return (NULL);
return (&this->contacts[index]);