From d0b7f899251bf68abb24a0a18d7f8ccdd361751d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 25 Oct 2017 17:01:19 +0200 Subject: [PATCH] Removed unwanted newlines at the end of output. --- app/src/plasp-app/commands/CommandBeautify.cpp | 2 +- app/src/plasp-app/commands/CommandNormalize.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/plasp-app/commands/CommandBeautify.cpp b/app/src/plasp-app/commands/CommandBeautify.cpp index bf98c54..1651b11 100644 --- a/app/src/plasp-app/commands/CommandBeautify.cpp +++ b/app/src/plasp-app/commands/CommandBeautify.cpp @@ -105,7 +105,7 @@ int CommandBeautify::run(int argc, char **argv) auto context = pddl::Context(std::move(tokenizer), logWarning); context.mode = parserOptions.parsingMode; auto description = pddl::parseDescription(context); - logger.outputStream() << description << std::endl; + logger.outputStream() << description; break; } diff --git a/app/src/plasp-app/commands/CommandNormalize.cpp b/app/src/plasp-app/commands/CommandNormalize.cpp index 908bef8..4f149c4 100644 --- a/app/src/plasp-app/commands/CommandNormalize.cpp +++ b/app/src/plasp-app/commands/CommandNormalize.cpp @@ -108,7 +108,7 @@ int CommandNormalize::run(int argc, char **argv) context.mode = parserOptions.parsingMode; auto description = pddl::parseDescription(context); auto normalizedDescription = pddl::normalize(std::move(description)); - logger.outputStream() << normalizedDescription << std::endl; + logger.outputStream() << normalizedDescription; return EXIT_SUCCESS; }