diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2012-05-10 18:04:27 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2012-05-10 18:04:27 -0500 |
commit | da10fbf5ca53313e20b19457fad780bd6c8930b2 (patch) | |
tree | 3b51cf8661c5ce03c50115a33d6774b2c0b1e14c /src | |
parent | 8cee4dacc83bdea41563272449442bd322ca786f (diff) | |
download | gem5-da10fbf5ca53313e20b19457fad780bd6c8930b2.tar.xz |
base: fix a invalid ?: operator
Diffstat (limited to 'src')
-rw-r--r-- | src/base/output.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/output.cc b/src/base/output.cc index 1c749e5bf..ee2e196ed 100644 --- 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; |