aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/System/MappedFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/System/MappedFile.h')
-rw-r--r--include/llvm/System/MappedFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/System/MappedFile.h b/include/llvm/System/MappedFile.h
index a68303bfb0..8cd926bc14 100644
--- a/include/llvm/System/MappedFile.h
+++ b/include/llvm/System/MappedFile.h
@@ -134,7 +134,7 @@ namespace sys {
/// areas of memory after this call.
/// @throws std::string if an error occurs
/// @brief Set the size of the file and memory mapping.
- void size(size_t new_size);
+ bool size(size_t new_size, std::string* ErrMsg = 0);
void close() { if (info_) terminate(); }