summaryrefslogtreecommitdiff
path: root/core/fxcrt/ifxcrt_fileaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/ifxcrt_fileaccess.h')
-rw-r--r--core/fxcrt/ifxcrt_fileaccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/ifxcrt_fileaccess.h b/core/fxcrt/ifxcrt_fileaccess.h
index 9528b3b377..340c2d1eeb 100644
--- a/core/fxcrt/ifxcrt_fileaccess.h
+++ b/core/fxcrt/ifxcrt_fileaccess.h
@@ -15,7 +15,7 @@
class IFXCRT_FileAccess {
public:
- static IFXCRT_FileAccess* Create();
+ static std::unique_ptr<IFXCRT_FileAccess> Create();
virtual ~IFXCRT_FileAccess() {}
virtual bool Open(const CFX_ByteStringC& fileName, uint32_t dwMode) = 0;