diff --git a/day2/day2.cpp b/day2/day2.cpp index 4543c84..f9a1b1e 100644 --- a/day2/day2.cpp +++ b/day2/day2.cpp @@ -82,11 +82,11 @@ class Entry { return Entry(policy, password); } - Policy const &getPolicy() const { + const Policy &getPolicy() const { return this->policy; } - std::string const &getPassword() const { + const std::string &getPassword() const { return this->password; }