summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8dd159d)
raw | patch | inline | side by side (parent: 8dd159d)
author | pjrm <pjrm@users.sourceforge.net> | |
Mon, 6 Mar 2006 12:20:11 +0000 (12:20 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Mon, 6 Mar 2006 12:20:11 +0000 (12:20 +0000) |
src/extension/dependency.cpp | patch | blob | history |
index 4ccf103f60553c2f5a8f64042c4787a944eac57f..6db57174cf97c0d65fca0811946ad44eed3eb56f 100644 (file)
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;
}