diff options
author | Bastien Bouclet | 2018-04-05 20:25:28 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-05-10 08:35:46 +0200 |
commit | 955e18c64874203b6f7156835d7d8458b6fb54de (patch) | |
tree | 8a165d5aabdb7acbfabd0ca7286485f3980d4014 /common/quicktime.h | |
parent | 82296866b4f79798d1fd5085bfd91fa2fb829d6a (diff) | |
download | scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.tar.gz scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.tar.bz2 scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.zip |
COMMON: Use nullptr instead of NULL or 0 where appropriate
Diffstat (limited to 'common/quicktime.h')
-rw-r--r-- | common/quicktime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/quicktime.h b/common/quicktime.h index 3f82fc0431..26fc44ac71 100644 --- a/common/quicktime.h +++ b/common/quicktime.h @@ -79,7 +79,7 @@ public: void setChunkBeginOffset(uint32 offset) { _beginOffset = offset; } /** Find out if this parser has an open file handle */ - bool isOpen() const { return _fd != 0; } + bool isOpen() const { return _fd != nullptr; } protected: // This is the file handle from which data is read from. It can be the actual file handle or a decompressed stream. |