projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6b9870a
)
Do not clean up if the MappedFile was never used or if the client already
author
Chris Lattner
<sabre@nondot.org>
Fri, 28 Jan 2005 16:08:23 +0000
(16:08 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 28 Jan 2005 16:08:23 +0000
(16:08 +0000)
closed the file. This unbreaks the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19871
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/System/MappedFile.h
patch
|
blob
|
history
diff --git
a/include/llvm/System/MappedFile.h
b/include/llvm/System/MappedFile.h
index f73618aeb4095333a370c5221045f609f938d6eb..83c63d26364328edc06c449462e51d49b10000ff 100644
(file)
--- a/
include/llvm/System/MappedFile.h
+++ b/
include/llvm/System/MappedFile.h
@@
-52,7
+52,7
@@
namespace sys {
/// Destruct a MappedFile and release all memory associated with it.
/// @throws std::string if an error occurs
- ~MappedFile() { terminate(); }
+ ~MappedFile() {
if (info_)
terminate(); }
/// @}
/// @name Accessors