aboutsummaryrefslogtreecommitdiff
path: root/People.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'People.cpp')
-rw-r--r--People.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/People.cpp b/People.cpp
index 80d2c8a..5bc11f7 100644
--- a/People.cpp
+++ b/People.cpp
@@ -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);
}
}