Use FMT_NULL instead of 0 is a few more places.

Found with GCC and -Wzero-as-null-pointer-constant
This commit is contained in:
Lars Gullik Bjønnes
2018-02-24 08:20:20 +00:00
committed by Victor Zverovich
parent e92ba1071d
commit 55f5c9f21b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -134,7 +134,7 @@ class BufferedFile {
public:
// Constructs a BufferedFile object which doesn't represent any file.
BufferedFile() FMT_NOEXCEPT : file_(0) {}
BufferedFile() FMT_NOEXCEPT : file_(FMT_NULL) {}
// Destroys the object closing the file it represents if any.
FMT_API ~BufferedFile() FMT_DTOR_NOEXCEPT;