[HPP] Remove const and noexcept from string conversion operators of ArrayWrapper1D

This commit is contained in:
mocabe
2020-06-25 01:45:35 +09:00
parent bb8c322c94
commit 237d51d478
2 changed files with 4 additions and 4 deletions

View File

@@ -6943,14 +6943,14 @@ int main( int argc, char ** argv )
}
template <typename B = T, typename std::enable_if<std::is_same<B, char>::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 <typename B = T, typename std::enable_if<std::is_same<B, char>::value, int>::type = 0>
operator std::string_view const () const VULKAN_HPP_NOEXCEPT
operator std::string_view() const
{
return std::string_view( this->data() );
}