diff --git a/src/common/file_util.h b/src/common/file_util.h index 515c226fa0..caed8163a6 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -213,7 +213,7 @@ public: return WriteArray(str.c_str(), str.length()); } - bool IsOpen() const const { + bool IsOpen() const { return nullptr != m_file; }