diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-08-12 20:35:22 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-08-12 20:35:22 +0400 |
commit | 9c2c862719f387300bf636737214d46fb4eb3f3a (patch) | |
tree | 8714e35691e8dc61207c31878e8ac5424c3b247a /moses/RuleCubeItem.h | |
parent | 249aefc0c3a4971f513a62ae85252a12b23ac13c (diff) |
don't hold shared_ptr in RuleCubeItem. Hold only reference to it. Save some speed
Diffstat (limited to 'moses/RuleCubeItem.h')
-rw-r--r-- | moses/RuleCubeItem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/RuleCubeItem.h b/moses/RuleCubeItem.h index a74e8d94a..2c086f0b3 100644 --- a/moses/RuleCubeItem.h +++ b/moses/RuleCubeItem.h @@ -67,7 +67,7 @@ public: private: std::size_t m_pos; - ChartTranslationOptions::CollType m_orderedTargetPhrases; + const ChartTranslationOptions::CollType &m_orderedTargetPhrases; }; |