diff options
author | Lars Næsbye Christensen <lars@naesbye.dk> | 2024-02-09 02:08:25 +0100 |
---|---|---|
committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-02-12 23:17:22 +0200 |
commit | aa4516046a492615547be9cc7ed19b46e2d04ddd (patch) | |
tree | 5f86f526cf04859cb4f4cef6546925c139cbed6d /indra/llfilesystem/llfilesystem.h | |
parent | 981470e0a1f4d3157d6528b3966922d825e77fce (diff) |
llfilesystem: BOOL (int) to real bool
Diffstat (limited to 'indra/llfilesystem/llfilesystem.h')
-rw-r--r-- | indra/llfilesystem/llfilesystem.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/llfilesystem/llfilesystem.h b/indra/llfilesystem/llfilesystem.h index d934a408c2..ea1b9cf3a1 100644 --- a/indra/llfilesystem/llfilesystem.h +++ b/indra/llfilesystem/llfilesystem.h @@ -40,18 +40,18 @@ class LLFileSystem LLFileSystem(const LLUUID& file_id, const LLAssetType::EType file_type, S32 mode = LLFileSystem::READ); ~LLFileSystem(); - BOOL read(U8* buffer, S32 bytes); + bool read(U8* buffer, S32 bytes); S32 getLastBytesRead(); - BOOL eof(); + bool eof(); - BOOL write(const U8* buffer, S32 bytes); - BOOL seek(S32 offset, S32 origin = -1); + bool write(const U8* buffer, S32 bytes); + bool seek(S32 offset, S32 origin = -1); S32 tell() const; S32 getSize(); S32 getMaxSize(); - BOOL rename(const LLUUID& new_id, const LLAssetType::EType new_type); - BOOL remove(); + bool rename(const LLUUID& new_id, const LLAssetType::EType new_type); + bool remove(); static bool getExists(const LLUUID& file_id, const LLAssetType::EType file_type); static bool removeFile(const LLUUID& file_id, const LLAssetType::EType file_type, int suppress_error = 0); |