From d2a116b57f2dd2d92ae3da7d57058d9a3c4a8fdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20S=C3=BC=C3=9Fenbach?= Date: Tue, 19 Nov 2019 17:44:16 +0100 Subject: [PATCH] Correct operator=() by using offsetof instead of sizeof to determine size of memory to copy. (#437) --- VulkanHppGenerator.cpp | 14 +- vulkan/vulkan.hpp | 756 ++++++++++++++++++++--------------------- 2 files changed, 387 insertions(+), 383 deletions(-) diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index d527c4b..2225b79 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -2659,12 +2659,16 @@ std::string VulkanHppGenerator::appendStructConstructor(std::pair