summaryrefslogtreecommitdiffstats
path: root/src/extension/dependency.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2006-03-06 12:20:11 +0000
committerpjrm <pjrm@users.sourceforge.net>2006-03-06 12:20:11 +0000
commit0559063ca41d5f2d9ee01e83c8f17e6461163ddf (patch)
tree8b317dc4e258c557a63b543b8878ba3df398432c /src/extension/dependency.cpp
parentadd DocumentSubset::_clear (diff)
downloadinkscape-0559063ca41d5f2d9ee01e83c8f17e6461163ddf.tar.gz
inkscape-0559063ca41d5f2d9ee01e83c8f17e6461163ddf.zip
Replace std::endl in lots of places with plain old '\n', with just a single std::flush per dependency.
(bzr r211)
Diffstat (limited to 'src/extension/dependency.cpp')
-rw-r--r--src/extension/dependency.cpp12
1 files changed, 7 insertions, 5 deletions
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;
}