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
commitf6893f5bc4827c7f31d13b9edd180549c2944b0d (patch)
treef080a19b70a98f45cb0400e73a4f54ebef22ac4a /extractor
parent71b68a158a0ca2b5ea738b457b17e3f54b91683b (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;