diff options
Diffstat (limited to 'include/llvm/System/MappedFile.h')
-rw-r--r-- | include/llvm/System/MappedFile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/System/MappedFile.h b/include/llvm/System/MappedFile.h index 526d11b..f73618a 100644 --- a/include/llvm/System/MappedFile.h +++ b/include/llvm/System/MappedFile.h @@ -94,7 +94,7 @@ namespace sys { /// This function returns the number of bytes in the file. /// @throws std::string if an error occurs - size_t size(); + size_t size() const; /// @} /// @name Mutators @@ -137,7 +137,7 @@ namespace sys { sys::Path path_; ///< Path to the file. int options_; ///< Options used to create the mapping void* base_; ///< Pointer to the base memory address - MappedFileInfo* info_; ///< Platform specific info for the mapping + mutable MappedFileInfo* info_; ///< Platform specific info for the mapping /// @} /// @name Disabled |