From 27177c9cbc47d4114ccee56015fb0407e7e258cc Mon Sep 17 00:00:00 2001 From: B Stack Date: Tue, 12 Mar 2019 16:09:20 -0400 Subject: 10.10 --- zen/file_io.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'zen/file_io.h') diff --git a/zen/file_io.h b/zen/file_io.h index bf23d22c..cf5ecc73 100644 --- a/zen/file_io.h +++ b/zen/file_io.h @@ -41,13 +41,13 @@ protected: ~FileBase(); void close(); //throw FileError -> optional, but good place to catch errors when closing stream! - static const FileHandle invalidHandleValue; + static const FileHandle invalidHandleValue_; private: FileBase (const FileBase&) = delete; FileBase& operator=(const FileBase&) = delete; - FileHandle fileHandle_ = invalidHandleValue; + FileHandle fileHandle_ = invalidHandleValue_; const Zstring filePath_; }; @@ -108,7 +108,7 @@ template inline BinContainer loadBinContainer(const Zstring& filePath, const IOCallback& notifyUnbufferedIO /*throw X*/) //throw FileError, X { FileInput streamIn(filePath, notifyUnbufferedIO); //throw FileError, ErrorFileLocked - return bufferedLoad(streamIn); //throw FileError, X; + return bufferedLoad(streamIn); //throw FileError, X } -- cgit