From 56f418b41cdc0a6eb534581d170b333c6fba8b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=BC=C3=9Fenbach?= Date: Wed, 14 Feb 2018 14:42:47 +0100 Subject: [PATCH] Remove wrong #if !defined(NDEBUG) (#182) --- VulkanHppGenerator.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index a3576ba..f5eb999 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -2378,10 +2378,8 @@ void VulkanHppGenerator::readTypeBasetype(tinyxml2::XMLElement const* element, s checkEmptyElement(children[0]); checkEmptyElement(children[1]); -#if !defined(NDEBUG) std::string type = children[0]->GetText(); assert((type == "uint32_t") || (type == "uint64_t")); -#endif std::string name = strip(children[1]->GetText(), "Vk");