diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-14 14:07:42 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-01-14 14:07:42 +0300 |
commit | 05ead45e71916c5763c5c4b6375e2ca6838f3995 (patch) | |
tree | c279bd4aacfb31758720ffbaf5aaf62022574a52 /moses/AlignmentInfoCollection.h | |
parent | 91cb549ccf09fc33122f3d531f47c38ad0e99b3d (diff) |
beautify
Diffstat (limited to 'moses/AlignmentInfoCollection.h')
-rw-r--r-- | moses/AlignmentInfoCollection.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/moses/AlignmentInfoCollection.h b/moses/AlignmentInfoCollection.h index 1db0a2268..92462d3b8 100644 --- a/moses/AlignmentInfoCollection.h +++ b/moses/AlignmentInfoCollection.h @@ -46,14 +46,13 @@ public: * contains such an object then returns a pointer to it; otherwise a new * one is inserted. */ - private: +private: const AlignmentInfo* Add(AlignmentInfo const& ainfo); - public: +public: template<typename ALNREP> - AlignmentInfo const * - Add(ALNREP const & aln) - { + AlignmentInfo const * + Add(ALNREP const & aln) { return this->Add(AlignmentInfo(aln)); } |