From 195d26d813849ecdbf67d4e74f4cc276fb69ed1d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 21 Oct 2024 20:25:09 +0100 Subject: Bump to CTRE to v3.9.0-1-gacb2f4d to fix compilation with clang 19 Swaps ctre::range to ctre::search_all --- gfx/gl/shader.cpp | 4 ++-- thirdparty/ctre | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gfx/gl/shader.cpp b/gfx/gl/shader.cpp index 931c372..9a4c270 100644 --- a/gfx/gl/shader.cpp +++ b/gfx/gl/shader.cpp @@ -63,8 +63,8 @@ Shader::compile() const }; if (lookups) { std::basic_string textMod {text}; - for (const auto & match : ctre::range(textMod)) { - if (const auto lookup = std::find_if(LOOKUPS.begin(), LOOKUPS.end(), + for (const auto & match : ctre::search_all(textMod)) { + if (const auto * const lookup = std::find_if(LOOKUPS.begin(), LOOKUPS.end(), [&match](const auto & lookup) { return std::get(lookup) == match; }); diff --git a/thirdparty/ctre b/thirdparty/ctre index b3d7788..acb2f4d 160000 --- a/thirdparty/ctre +++ b/thirdparty/ctre @@ -1 +1 @@ -Subproject commit b3d7788b559e34d985c8530c3e0e7260b67505a6 +Subproject commit acb2f4de2e24a06280088377e47534137c0bc759 -- cgit v1.2.3