| 357 | //========================================================================== |
| 358 | |
| 359 | void FSerializer::EndObject() |
| 360 | { |
| 361 | if (isWriting()) |
| 362 | { |
| 363 | if (w->inObject()) |
| 364 | { |
| 365 | w->EndObject(); |
| 366 | w->mInObject.Pop(); |
| 367 | } |
| 368 | else |
| 369 | { |
| 370 | assert(false && "EndObject call not inside an object"); |
| 371 | I_Error("EndObject call not inside an object"); |
| 372 | } |
| 373 | } |
| 374 | else |
| 375 | { |
| 376 | r->mObjects.Pop(); |
| 377 | } |
| 378 | } |
| 379 | |
| 380 | //========================================================================== |
| 381 | // |
no test coverage detected