From 14467f65e0571cf77f7ee9d42f753aa4d24acdc2 Mon Sep 17 00:00:00 2001 From: Frederick Roy Date: Wed, 22 Jan 2025 15:46:01 +0900 Subject: [PATCH] replace usage of std::format due to old gcc/clang --- SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp b/SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp index 10c8de7bbd..61f040dd19 100644 --- a/SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp +++ b/SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp @@ -36,7 +36,6 @@ #include #include -#include #include using namespace sofa; @@ -147,7 +146,7 @@ void SofaGLFWWindow::setBackgroundImage(const std::string& filename) auto* backgroundImage = helper::io::Image::FactoryImage::getInstance()->createObject(extension, backgroundImageFilename); if( !backgroundImage ) { - msg_warning("GUI") << std::format("Could not load the file {}", filename); + msg_warning("GUI") << "Could not load the file " << filename; return; } else