aboutsummaryrefslogtreecommitdiff
path: root/People.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'People.cpp')
-rw-r--r--People.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/People.cpp b/People.cpp
index 1b3bfb9..80d2c8a 100644
--- a/People.cpp
+++ b/People.cpp
@@ -38,3 +38,10 @@ string People::to_string() {
return out;
}
+void People::update() {
+ for (Artist * artist : this->artists) {
+ if (artist == nullptr) continue;
+ artist->update();
+ }
+}
+