clean: remove debug print
This commit is contained in:
parent
bfda0a7548
commit
585571872e
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user