From da10fbf5ca53313e20b19457fad780bd6c8930b2 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Thu, 10 May 2012 18:04:27 -0500 Subject: [PATCH] base: fix a invalid ?: operator --- src/base/output.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2