summaryrefslogtreecommitdiff
path: root/extractor
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-04-23 22:53:42 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-04-23 22:56:40 +0100
commitaba04791dfa015905a609c0679da8f8f1e25f65f (patch)
tree17cf386cf6910faed951a153fcb888919f0f95fd /extractor
parent65a91daa39cd16971d52bd01330a2b2b470a549e (diff)
Replaced time consuming endl with \n.
Diffstat (limited to 'extractor')
-rw-r--r--extractor/grammar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/extractor/grammar.cc b/extractor/grammar.cc
index 8e5bcd45..b45a8261 100644
--- a/extractor/grammar.cc
+++ b/extractor/grammar.cc
@@ -34,7 +34,7 @@ ostream& operator<<(ostream& os, const Grammar& grammar) {
for (auto link: rule.alignment) {
os << " " << link.first << "-" << link.second;
}
- os << endl;
+ os << '\n';
}
return os;