| Index: core/fxcrt/fxcrt_posix.h
|
| diff --git a/core/fxcrt/fxcrt_posix.h b/core/fxcrt/fxcrt_posix.h
|
| index 37f6548d4019b31d858ea63667f47c9be6ee9dbf..20faa5c02f0ee54bbf049d9ccaf863dd044439d3 100644
|
| --- a/core/fxcrt/fxcrt_posix.h
|
| +++ b/core/fxcrt/fxcrt_posix.h
|
| @@ -17,9 +17,9 @@ class CFXCRT_FileAccess_Posix : public IFXCRT_FileAccess {
|
| CFXCRT_FileAccess_Posix();
|
| ~CFXCRT_FileAccess_Posix() override;
|
|
|
| - // IFXCRT_FileAccess
|
| - FX_BOOL Open(const CFX_ByteStringC& fileName, uint32_t dwMode) override;
|
| - FX_BOOL Open(const CFX_WideStringC& fileName, uint32_t dwMode) override;
|
| + // IFXCRT_FileAccess:
|
| + bool Open(const CFX_ByteStringC& fileName, uint32_t dwMode) override;
|
| + bool Open(const CFX_WideStringC& fileName, uint32_t dwMode) override;
|
| void Close() override;
|
| FX_FILESIZE GetSize() const override;
|
| FX_FILESIZE GetPosition() const override;
|
| @@ -30,8 +30,8 @@ class CFXCRT_FileAccess_Posix : public IFXCRT_FileAccess {
|
| size_t WritePos(const void* pBuffer,
|
| size_t szBuffer,
|
| FX_FILESIZE pos) override;
|
| - FX_BOOL Flush() override;
|
| - FX_BOOL Truncate(FX_FILESIZE szFile) override;
|
| + bool Flush() override;
|
| + bool Truncate(FX_FILESIZE szFile) override;
|
|
|
| protected:
|
| int32_t m_nFD;
|
|
|