diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index e6e40ba..9f866ce 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -6943,14 +6943,14 @@ int main( int argc, char ** argv ) } template ::value, int>::type = 0> - operator std::string const () const VULKAN_HPP_NOEXCEPT + operator std::string() const { return std::string( this->data() ); } #if 17 <= VULKAN_HPP_CPP_VERSION template ::value, int>::type = 0> - operator std::string_view const () const VULKAN_HPP_NOEXCEPT + operator std::string_view() const { return std::string_view( this->data() ); } diff --git a/vulkan/vulkan.hpp b/vulkan/vulkan.hpp index 19bae6a..7449c12 100644 --- a/vulkan/vulkan.hpp +++ b/vulkan/vulkan.hpp @@ -365,14 +365,14 @@ namespace VULKAN_HPP_NAMESPACE } template ::value, int>::type = 0> - operator std::string const() const VULKAN_HPP_NOEXCEPT + operator std::string() const { return std::string( this->data() ); } #if 17 <= VULKAN_HPP_CPP_VERSION template ::value, int>::type = 0> - operator std::string_view const() const VULKAN_HPP_NOEXCEPT + operator std::string_view() const { return std::string_view( this->data() ); }