mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-04 10:40:09 -06:00
Remove fmt::format and replace with std::format
This commit is contained in:
@@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user