projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cee4da
)
base: fix a invalid ?: operator
author
Ali Saidi
<Ali.Saidi@ARM.com>
Thu, 10 May 2012 23:04:27 +0000
(18:04 -0500)
committer
Ali Saidi
<Ali.Saidi@ARM.com>
Thu, 10 May 2012 23:04:27 +0000
(18:04 -0500)
src/base/output.cc
patch
|
blob
|
history
diff --git
a/src/base/output.cc
b/src/base/output.cc
index 1c749e5bf592ec98bfdc54810fcf60495a1bb245..ee2e196ed0b9d5f85052c2e330700b1dd81d3e12 100644
(file)
--- a/
src/base/output.cc
+++ b/
src/base/output.cc
@@
-160,7
+160,7
@@
OutputDirectory::create(const string &name, bool binary)
string filename = resolve(name);
ios_base::openmode mode =
- ios::trunc |
binary ? ios::binary : (ios::openmode)0
;
+ ios::trunc |
(binary ? ios::binary : (ios::openmode)0)
;
file = openFile(filename, mode);
return file;