aboutsummaryrefslogtreecommitdiff
path: root/src/platform/graphics/quartz/Brush.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/graphics/quartz/Brush.cpp')
-rw-r--r--src/platform/graphics/quartz/Brush.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/platform/graphics/quartz/Brush.cpp b/src/platform/graphics/quartz/Brush.cpp
index ea740eb3..c5784e51 100644
--- a/src/platform/graphics/quartz/Brush.cpp
+++ b/src/platform/graphics/quartz/Brush.cpp
@@ -1,6 +1,5 @@
#include "cru/platform/graphics/quartz/Brush.h"
-#include "cru/base/String.h"
-#include "cru/base/Format.h"
+#include <format>
namespace cru::platform::graphics::quartz {
QuartzSolidColorBrush::QuartzSolidColorBrush(IGraphicsFactory* graphics_factory,
@@ -30,7 +29,7 @@ void QuartzSolidColorBrush::Select(CGContextRef context) {
CGContextSetFillColorWithColor(context, cg_color_);
}
-String QuartzSolidColorBrush::GetDebugString() {
- return Format(u"QuartzSolidColorBrush(Color: {})", color_);
+std::string QuartzSolidColorBrush::GetDebugString() {
+ return std::format("QuartzSolidColorBrush(Color: {})", color_);
}
} // namespace cru::platform::graphics::quartz