From d1de7478b3ba735dd9bf4b29a4e4e72950d25a02 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 1 Sep 2017 12:52:02 +1000 Subject: [PATCH] instance: rename create_info as create_info_t --- instance.cpp | 10 +++++----- instance.hpp | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) 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; };