aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Win32/MappedFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Win32/MappedFile.cpp')
-rw-r--r--lib/System/Win32/MappedFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/MappedFile.cpp b/lib/System/Win32/MappedFile.cpp
index d81ef6a048..982a3b2390 100644
--- a/lib/System/Win32/MappedFile.cpp
+++ b/lib/System/Win32/MappedFile.cpp
@@ -97,7 +97,7 @@ void* MappedFile::map() {
return base_;
}
-size_t MappedFile::size() {
+size_t MappedFile::size() const {
assert(info_ && "MappedFile not initialized");
return info_->size;
}