diff --git a/object.hpp b/object.hpp index 29b441f..f6e424c 100644 --- a/object.hpp +++ b/object.hpp @@ -31,7 +31,7 @@ namespace cruft::vk { struct object { using native_type = native_t; - object (native_t _native): + object (const native_t &_native): m_native (_native) { CHECK_NEQ (m_native, VK_NULL_HANDLE);