diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2006-03-06 12:20:11 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2006-03-06 12:20:11 +0000 |
| commit | 0559063ca41d5f2d9ee01e83c8f17e6461163ddf (patch) | |
| tree | 8b317dc4e258c557a63b543b8878ba3df398432c /src/extension/dependency.cpp | |
| parent | add DocumentSubset::_clear (diff) | |
| download | inkscape-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.cpp | 12 |
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; } |
