diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-16 00:18:13 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-16 00:18:13 +0100 |
commit | fbcdbd6ea539520826492501be87823bae1f475d (patch) | |
tree | 8ebf669dfef969ddfe9b3bbf2da723917db100ce | |
parent | 1279302414a8a8648239864c69a9ead0803dd7b1 (diff) |
Fixed writing to file not working properly
-rw-r--r-- | src/cli/Main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/Main.cpp b/src/cli/Main.cpp index 9688757..d4ef45f 100644 --- a/src/cli/Main.cpp +++ b/src/cli/Main.cpp @@ -246,7 +246,7 @@ int main(int argc, char **argv) Rooted<Document> doc = docNode.cast<Document>(); // write output if (outputPath != "-") { - std::fstream out{outputPath}; + std::ofstream out{outputPath}; createOutput(doc, out, format, logger); } else { createOutput(doc, std::cout, format, logger); |