diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 17:18:12 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-07 17:18:12 +0400 |
commit | 441acf15e6a96f7d063d9b14bde2ee502e758c58 (patch) | |
tree | 681b91441a8e5067f85d0d1392f9c33aa0acac09 /moses/NonTerminal.cpp | |
parent | 5eef91c0ea336576b47c5fc0e1de2502be3b65a2 (diff) |
beautify
Diffstat (limited to 'moses/NonTerminal.cpp')
-rw-r--r-- | moses/NonTerminal.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/moses/NonTerminal.cpp b/moses/NonTerminal.cpp index 032a50678..b51edcd54 100644 --- a/moses/NonTerminal.cpp +++ b/moses/NonTerminal.cpp @@ -3,18 +3,19 @@ using namespace std; -namespace Moses { - std::ostream& operator<<(std::ostream &out, const NonTerminalSet &obj) - { - NonTerminalSet::const_iterator iter; - for (iter = obj.begin(); iter != obj.end(); ++iter) { - const Word &word = *iter; - out << word << " "; - } +namespace Moses +{ +std::ostream& operator<<(std::ostream &out, const NonTerminalSet &obj) +{ + NonTerminalSet::const_iterator iter; + for (iter = obj.begin(); iter != obj.end(); ++iter) { + const Word &word = *iter; + out << word << " "; + } - return out; - } + return out; +} } |