summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-06-04 15:03:19 -0400
committerDavid Robillard <d@drobilla.net>2024-06-04 15:03:19 -0400
commit480be47b2aada4219af7e5d92bd8df8c15dea75d (patch)
tree4bcadf0aca4d317be78264616e3f36dad2799adf
parent485393a6c1a9169f6a2f4a3b8d3f4146f1dbcca4 (diff)
downloadganv-480be47b2aada4219af7e5d92bd8df8c15dea75d.tar.gz
ganv-480be47b2aada4219af7e5d92bd8df8c15dea75d.tar.bz2
ganv-480be47b2aada4219af7e5d92bd8df8c15dea75d.zip
Avoid std::endl
-rw-r--r--src/Canvas.cpp4
1 files changed, 2 insertions, 2 deletions
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";
}
}