diff --git a/.github/workflows/ci-ubuntu.yml b/.github/workflows/ci-ubuntu.yml index aeb239e..67286c7 100644 --- a/.github/workflows/ci-ubuntu.yml +++ b/.github/workflows/ci-ubuntu.yml @@ -15,8 +15,7 @@ jobs: strategy: matrix: - # g++-12 fails on some very innocent code... excluding it for now - compiler: [clang++-13, clang++-14, clang++-15, g++-10, g++-11] + compiler: [clang++-13, clang++-14, clang++-15, g++-10, g++-11, g++-12] steps: - uses: actions/checkout@v4 diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 69c067f..a4f7406 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -23,6 +23,8 @@ #include #include +using namespace std::literals; + namespace { std::vector> filterNumbers( std::vector const & names ); @@ -7991,12 +7993,12 @@ std::string VulkanHppGenerator::generateHandleEmpty( HandleData const & handleDa std::vector commands = selectCommandsByHandle( feature.requireData, handleData.commands, listedCommands ); if ( !commands.empty() ) { - str += "\n //=== " + feature.name + " ===\n"; + str += "\n //=== "s + feature.name + " ===\n"; for ( auto const & command : commands ) { auto commandIt = m_commands.find( command ); assert( commandIt != m_commands.end() ); - str += "\n" + generateCommand( commandIt->first, commandIt->second, 0, false, false ); + str += "\n"s + generateCommand( commandIt->first, commandIt->second, 0, false, false ); } } }