SOPHIA_ASSERT

This commit is contained in:
2026-09-09 02:02:03 -07:00
parent 73d2121bc1
commit 9aef3f57fc
8 changed files with 57 additions and 26 deletions
+2 -2
View File
@@ -2,10 +2,10 @@
#include <imgui_impl_vulkan.h>
#include <cassert>
#include <memory>
#include <optional>
#include <sophia/types.hpp>
#include <sophia/util/assert.hpp>
#include <vector>
#include <vulkan/vulkan.hpp>
@@ -41,7 +41,7 @@ class Device {
~Device();
const vk::Device* get() const {
assert(this->device);
SOPHIA_ASSERT(this->device);
return &this->device.get();
}