diff --git a/instance.cpp b/instance.cpp index 6a4ab72..b41263e 100644 --- a/instance.cpp +++ b/instance.cpp @@ -39,25 +39,25 @@ static const VkInstanceCreateInfo DEFAULT_INFO = { //----------------------------------------------------------------------------- -instance::create_info::create_info (): - create_info (DEFAULT_INFO) +instance::create_info_t::create_info_t (): + create_info_t (DEFAULT_INFO) { ; } //----------------------------------------------------------------------------- -instance::create_info::create_info (const VkInstanceCreateInfo &base): +instance::create_info_t::create_info_t (const VkInstanceCreateInfo &base): VkInstanceCreateInfo (base) { ; } /////////////////////////////////////////////////////////////////////////////// instance::instance (): - instance (create_info ()) + instance (create_info_t ()) { ; } //----------------------------------------------------------------------------- -instance::instance (const create_info &info): +instance::instance (const create_info_t &info): instantiated (&info, nullptr) { ; } diff --git a/instance.hpp b/instance.hpp index 998f2ea..f9f0fbe 100644 --- a/instance.hpp +++ b/instance.hpp @@ -28,13 +28,13 @@ namespace cruft::vk { struct instance : public instantiated { - struct create_info : public VkInstanceCreateInfo { - create_info (); - create_info (const VkInstanceCreateInfo&); + struct create_info_t : public VkInstanceCreateInfo { + create_info_t (); + create_info_t (const VkInstanceCreateInfo&); }; instance (); - instance (const create_info &info); + instance (const create_info_t &info); std::set extensions (void) const; };