Skip to content

Commit

Permalink
Add g++12 for ubuntu builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
asuessenbach committed Jul 10, 2024
1 parent 630d8da commit ce41f80
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <regex>
#include <sstream>

using namespace std::literals;

namespace
{
std::vector<std::pair<std::string, size_t>> filterNumbers( std::vector<std::string> const & names );
Expand Down Expand Up @@ -7991,7 +7993,7 @@ std::string VulkanHppGenerator::generateHandleEmpty( HandleData const & handleDa
std::vector<std::string> 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 );
Expand Down

0 comments on commit ce41f80

Please sign in to comment.