diff options
Diffstat (limited to 'src/Platform.h')
-rw-r--r-- | src/Platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform.h b/src/Platform.h index 5ba79a936..0c0f37ff6 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -168,7 +168,7 @@ public: Surface &operator=(const Surface &) = delete; Surface &operator=(Surface &&) = delete; virtual ~Surface() {} - static Surface *Allocate(int technology); + static std::unique_ptr<Surface> Allocate(int technology); virtual void Init(WindowID wid)=0; virtual void Init(SurfaceID sid, WindowID wid)=0; |