aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Win32/MappedFile.inc
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2004-12-13 06:26:35 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2004-12-13 06:26:35 +0000
commit3265369ff528e09a71cc8f1ce20f28f65d8e2bcc (patch)
treee344d75a37a9d1f17d69768d803c14bcdb70ac5e /lib/System/Win32/MappedFile.inc
parentefd6bb37a36c6f6d1581e9d28923c09f30cd186d (diff)
Fix recent breakage of win32 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32/MappedFile.inc')
-rw-r--r--lib/System/Win32/MappedFile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Win32/MappedFile.inc b/lib/System/Win32/MappedFile.inc
index d81ef6a048..982a3b2390 100644
--- a/lib/System/Win32/MappedFile.inc
+++ b/lib/System/Win32/MappedFile.inc
@@ -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;
}