aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 07:11:54 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 07:11:54 +0000
commitc19bbba7d71112de11c708250176481ca5828baf (patch)
tree508097a780c85595d7b85c3503f5a610c0567bbd
parent16c7fe5ca3d806615a657962a30f89debe7526a7 (diff)
make optional pointer really optional
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29904 91177308-0d34-0410-b5e6-96231b3b80d8
-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 8cd926bc14..f82d6fe942 100644
--- a/include/llvm/System/MappedFile.h
+++ b/include/llvm/System/MappedFile.h
@@ -123,7 +123,7 @@ namespace sys {
/// occurred.
/// @brief Map the file into memory.
void* map(
- std::string* ErrMsg ///< Optional error string pointer
+ std::string* ErrMsg = 0///< Optional error string pointer
);
/// This method causes the size of the file, and consequently the size