Skip to content

Commit

Permalink
replace usage of std::format due to old gcc/clang
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Jan 22, 2025
1 parent 7f92cfe commit 14467f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
#include <sofa/gl/gl.h>
#include <sofa/gl/Texture.h>

#include <format>
#include <ranges>

using namespace sofa;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 14467f6

Please sign in to comment.