| 278 | } |
| 279 | |
| 280 | void Scene::Pop() { |
| 281 | old_instances.push_back(instances.back()); |
| 282 | instances.pop_back(); |
| 283 | |
| 284 | instance = instances.empty() ? nullptr : instances.back(); |
| 285 | |
| 286 | push_pop_operation = ScenePopped; |
| 287 | |
| 288 | DEBUG_VALIDATE("Pop"); |
| 289 | } |
| 290 | |
| 291 | void Scene::PopUntil(SceneType type) { |
| 292 | int count = 0; |
no test coverage detected