diff options
Diffstat (limited to 'People.cpp')
-rw-r--r-- | People.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,10 +38,10 @@ string People::to_string() { return out; } -void People::update() { +void People::update(Museum & museum) { for (Artist * artist : this->artists) { if (artist == nullptr) continue; - artist->update(); + artist->update(museum); } } |