diff --git a/Aufg3/Phonebook.cpp b/Aufg3/Phonebook.cpp index 75be466..62212c1 100644 --- a/Aufg3/Phonebook.cpp +++ b/Aufg3/Phonebook.cpp @@ -68,6 +68,7 @@ void readContactsFromFile(std::vector *Telefonbuch, std::string * if (!infile.is_open()) { std::cout << "File does not exist" << std::endl; + return; } std::string line;