From 327bdefa15f8af59741dcb91a0d434d5b23b1ac8 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sun, 17 Sep 2017 18:06:00 +0200 Subject: Flushing std::cout --- src/document.cpp | 2 +- src/libcola/colafd.cpp | 2 +- src/libvpsc/linesegment.h | 10 +++++----- src/live_effects/lpe-fillet-chamfer.cpp | 2 -- src/live_effects/lpe-knot.cpp | 2 +- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/document.cpp b/src/document.cpp index d9c709626..4c24d0a96 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -513,7 +513,7 @@ SPDocument *SPDocument::createChildDoc(std::string const &uri) } else { path = uri; } - std::cout << "Added base: '" << path << "'\n"; + std::cout << "Added base: '" << path << std::endl; document = createNewDoc(path.c_str(), false, false, this); } return document; diff --git a/src/libcola/colafd.cpp b/src/libcola/colafd.cpp index 7be18f7d6..748f3354b 100644 --- a/src/libcola/colafd.cpp +++ b/src/libcola/colafd.cpp @@ -75,7 +75,7 @@ void dumpSquareMatrix(unsigned n, T** L) { for(unsigned i=0;igetCurve()->get_pathvector()); Satellites satellites; double power = radius; - std::cout << power << "power\n"; if (!flexible) { SPDocument * document = SP_ACTIVE_DOCUMENT; SPNamedView *nv = sp_document_namedview(document, NULL); Glib::ustring display_unit = nv->display_units->abbr; power = Inkscape::Util::Quantity::convert(power, unit.get_abbreviation(), display_unit.c_str()); } - std::cout << power << "power22222222\n"; SatelliteType satellite_type = FILLET; std::map gchar_map_to_satellite_type = boost::assign::map_list_of("F", FILLET)("IF", INVERSE_FILLET)("C", CHAMFER)("IC", INVERSE_CHAMFER)("KO", INVALID_SATELLITE); diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 261612fdb..22c548c1d 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -199,7 +199,7 @@ CrossingPoints::CrossingPoints(Geom::PathVector const &paths) : std::vector