Remove fmt::format and replace with std::format

This commit is contained in:
Alexander Bock
2024-03-24 20:19:14 +01:00
parent 9878bfc8f7
commit 3ba346a227
246 changed files with 1343 additions and 1300 deletions

View File

@@ -301,7 +301,7 @@ void RenderableFov::initializeGL() {
res.shape == SpiceManager::FieldOfViewResult::Shape::Rectangle;
if (!supportedShape) {
throw ghoul::RuntimeError(
fmt::format("'{}' has unsupported shape", _instrument.name),
std::format("'{}' has unsupported shape", _instrument.name),
"RenderableFov"
);
}
@@ -329,7 +329,7 @@ void RenderableFov::initializeGL() {
LINFOC(
_instrument.name,
fmt::format("Simplified from {} to {}", sizeBefore, sizeAfter)
std::format("Simplified from {} to {}", sizeBefore, sizeAfter)
);
}