commit | ccd99b9b612cf601d3e8a2df968f6a22abdfdb1c | [log] [tgz] |
---|---|---|
author | Jeff Cohen <jeffc@jolt-lang.org> | Mon Dec 13 06:26:35 2004 +0000 |
committer | Jeff Cohen <jeffc@jolt-lang.org> | Mon Dec 13 06:26:35 2004 +0000 |
tree | 14135546a6662aadc53c554d39c87d070c80fc92 | |
parent | 85d55ad803ad5408130b9db79a6bb57fbb0d270f [diff] [blame] |
Fix recent breakage of win32 build llvm-svn: 18876
diff --git a/llvm/lib/System/Win32/MappedFile.cpp b/llvm/lib/System/Win32/MappedFile.cpp index d81ef6a..982a3b2 100644 --- a/llvm/lib/System/Win32/MappedFile.cpp +++ b/llvm/lib/System/Win32/MappedFile.cpp
@@ -97,7 +97,7 @@ return base_; } -size_t MappedFile::size() { +size_t MappedFile::size() const { assert(info_ && "MappedFile not initialized"); return info_->size; }