From 06f16479ae1b727252404b763b60c924e3fe7903 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Mon, 3 Nov 2025 20:04:52 +0800 Subject: Remove Object2. --- include/cru/platform/graphics/direct2d/Resource.h | 3 --- include/cru/platform/graphics/direct2d/WindowRenderTarget.h | 4 ---- 2 files changed, 7 deletions(-) (limited to 'include/cru/platform/graphics/direct2d') diff --git a/include/cru/platform/graphics/direct2d/Resource.h b/include/cru/platform/graphics/direct2d/Resource.h index ca67a463..b8dd42ab 100644 --- a/include/cru/platform/graphics/direct2d/Resource.h +++ b/include/cru/platform/graphics/direct2d/Resource.h @@ -18,9 +18,6 @@ class CRU_WIN_GRAPHICS_DIRECT_API DirectResource DirectResource() = default; public: - CRU_DELETE_COPY(DirectResource) - CRU_DELETE_MOVE(DirectResource) - ~DirectResource() override = default; public: diff --git a/include/cru/platform/graphics/direct2d/WindowRenderTarget.h b/include/cru/platform/graphics/direct2d/WindowRenderTarget.h index f77ce471..19b32df9 100644 --- a/include/cru/platform/graphics/direct2d/WindowRenderTarget.h +++ b/include/cru/platform/graphics/direct2d/WindowRenderTarget.h @@ -6,10 +6,6 @@ namespace cru::platform::graphics::direct2d { class CRU_WIN_GRAPHICS_DIRECT_API D2DWindowRenderTarget : public Object { public: D2DWindowRenderTarget(DirectGraphicsFactory* factory, HWND hwnd); - - CRU_DELETE_COPY(D2DWindowRenderTarget) - CRU_DELETE_MOVE(D2DWindowRenderTarget) - ~D2DWindowRenderTarget() override = default; public: -- cgit v1.2.3