aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/graphics/quartz
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-14 22:48:16 +0800
committercrupest <crupest@outlook.com>2023-10-14 22:48:16 +0800
commit856df14d749014f11a583ade2fee988b076754cc (patch)
tree5e0684b2a4c01f37ddc6ad869c2c86125e4bb77a /include/cru/platform/graphics/quartz
parent9ec7c364ce8681305910b728588913f2b11cfbe6 (diff)
downloadcru-856df14d749014f11a583ade2fee988b076754cc.tar.gz
cru-856df14d749014f11a583ade2fee988b076754cc.tar.bz2
cru-856df14d749014f11a583ade2fee988b076754cc.zip
Re-think about ToString.
ToString for a class should lies in the same namespace of the class. Argument-dependent name lookup will help make Format work. The problem is it will hide ToString at parent namespace. But if you call ToString explicitly, it's you duty to use the ToString in correct namespace.
Diffstat (limited to 'include/cru/platform/graphics/quartz')
-rw-r--r--include/cru/platform/graphics/quartz/Brush.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/cru/platform/graphics/quartz/Brush.h b/include/cru/platform/graphics/quartz/Brush.h
index f3579771..d5714293 100644
--- a/include/cru/platform/graphics/quartz/Brush.h
+++ b/include/cru/platform/graphics/quartz/Brush.h
@@ -6,8 +6,6 @@
#include <CoreGraphics/CoreGraphics.h>
-#include <functional>
-
namespace cru::platform::graphics::quartz {
class QuartzBrush : public OsxQuartzResource, public virtual IBrush {
public: