[llvm-commits] CVS: llvm/include/llvm/System/MappedFile.h

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 27 00:12:09 PDT 2006



Changes in directory llvm/include/llvm/System:

MappedFile.h updated: 1.12 -> 1.13
---
Log message:

make optional pointer really optional


---
Diffs of the changes:  (+1 -1)

 MappedFile.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/include/llvm/System/MappedFile.h
diff -u llvm/include/llvm/System/MappedFile.h:1.12 llvm/include/llvm/System/MappedFile.h:1.13
--- llvm/include/llvm/System/MappedFile.h:1.12	Fri Aug 25 16:37:17 2006
+++ llvm/include/llvm/System/MappedFile.h	Sun Aug 27 02:11:54 2006
@@ -123,7 +123,7 @@
     /// 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






More information about the llvm-commits mailing list