From 480be47b2aada4219af7e5d92bd8df8c15dea75d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Jun 2024 15:03:19 -0400 Subject: Avoid std::endl --- src/Canvas.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 4065539..fb4e8f7 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -756,7 +756,7 @@ GanvCanvasImpl::layout_dot(const std::string& filename) agsafeset(node, (char*)"label", (char*)"", (char*)""); } } else { - std::cerr << "Unable to arrange item of unknown type" << std::endl; + std::cerr << "Unable to arrange item of unknown type\n"; } } @@ -781,7 +781,7 @@ GanvCanvasImpl::layout_dot(const std::string& filename) agsafeset(e, (char*)"constraint", (char*)"false", (char*)""); } } else { - std::cerr << "Unable to find graphviz node" << std::endl; + std::cerr << "Unable to find graphviz node\n"; } } -- cgit v1.2.1