1
0
Fork 0

Codefix: Ensure assertions are properly encapsulated within WITH_ASSERT directive

pull/13176/head
SamuXarick 2024-12-18 20:48:29 +00:00
parent c4424aa894
commit 9af10b2578
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,6 @@ Town::~Town()
for (const Object *o : Object::Iterate()) {
assert(o->town != this);
}
#endif /* WITH_ASSERT */
/* Check no tile is related to us. */
for (const auto tile : Map::Iterate()) {
@ -146,6 +145,7 @@ Town::~Town()
break;
}
}
#endif /* WITH_ASSERT */
/* Clear the persistent storage list. */
for (auto &psa : this->psa_list) {