objlifetimes: Remove unused DestroyUndestroyedObjects param

Change-Id: I67227ec8bf8cced99deff06d5c3c9db3290a25cb
diff --git a/layers/object_tracker_utils.cpp b/layers/object_tracker_utils.cpp
index b332663..532cbff 100644
--- a/layers/object_tracker_utils.cpp
+++ b/layers/object_tracker_utils.cpp
@@ -48,6 +48,14 @@
     }
 }
 
+void ObjectLifetimes::DestroyUndestroyedObjects(VulkanObjectType object_type) {
+    auto snapshot = object_map[object_type].snapshot();
+    for (const auto &item : snapshot) {
+        auto object_info = item.second;
+        DestroyObjectSilently(object_info->handle, object_type);
+    }
+}
+
 // Look for this device object in any of the instance child devices lists.
 // NOTE: This is of dubious value. In most circumstances Vulkan will die a flaming death if a dispatchable object is invalid.
 // However, if this layer is loaded first and GetProcAddress is used to make API calls, it will detect bad DOs.