diff options
Diffstat (limited to 'person.hpp')
-rw-r--r-- | person.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,10 +2,11 @@ #define PERSON_H #include <string> #include <vector> +#include <iostream> struct Person { Person() = default; - Person(const std::string &name): Name(name) {} + explicit Person(const std::string &name): Name(name) {} Person(const std::string &name, const std::string &addr): Name(name), Address(addr) {} std::string Name; std::string Address; |