From: pjrm Date: Mon, 6 Mar 2006 12:20:11 +0000 (+0000) Subject: Replace std::endl in lots of places with plain old '\n', with just a single std:... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0a94db7164164d1ca32db61e4fa7c11116a3a124;p=inkscape.git Replace std::endl in lots of places with plain old '\n', with just a single std::flush per dependency. --- diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index 4ccf103f6..6db57174c 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -235,15 +235,17 @@ Dependency::check (void) const std::ostream & operator<< (std::ostream &out_file, const Dependency & in_dep) { - out_file << _("Dependency::") << std::endl; - out_file << _(" type: ") << _(in_dep._type_str[in_dep._type]) << std::endl; - out_file << _(" location: ") << _(in_dep._location_str[in_dep._location]) << std::endl; - out_file << _(" string: ") << in_dep._string << std::endl; + out_file << _("Dependency::") << '\n'; + out_file << _(" type: ") << _(in_dep._type_str[in_dep._type]) << '\n'; + out_file << _(" location: ") << _(in_dep._location_str[in_dep._location]) << '\n'; + out_file << _(" string: ") << in_dep._string << '\n'; if (in_dep._description != NULL) { - out_file << _(" description: ") << _(in_dep._description) << std::endl; + out_file << _(" description: ") << _(in_dep._description) << '\n'; } + out_file << std::flush; + return out_file; }