diff options
Diffstat (limited to 'People.cpp')
-rw-r--r-- | People.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -40,6 +40,7 @@ string People::to_string() { out += stringf("%d artists\n", this->artist_count); for (Artist * artist : this->artists) { + if (artist == nullptr) continue; out += stringf("- at (%.2f,%.2f)\n", artist->data.x, artist->data.y); } |