diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2013-09-26 01:04:04 +0400 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2013-09-26 01:04:04 +0400 |
commit | b736fe2b612fd84c0a17922f813ebcad4c740aca (patch) | |
tree | eca92ccbc9e871b29cb9113fcd9e6e6372d6b73c /moses/AlignmentInfo.cpp | |
parent | e1574c29162fde91dacf96a77bf68f79fc715e78 (diff) |
Commented out unused variables.
Diffstat (limited to 'moses/AlignmentInfo.cpp')
-rw-r--r-- | moses/AlignmentInfo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/moses/AlignmentInfo.cpp b/moses/AlignmentInfo.cpp index 60dec0118..5ed1ce6ee 100644 --- a/moses/AlignmentInfo.cpp +++ b/moses/AlignmentInfo.cpp @@ -60,7 +60,7 @@ std::set<size_t> AlignmentInfo::GetAlignmentsForSource(size_t sourcePos) const std::set<size_t> ret; CollType::const_iterator iter; for (iter = begin(); iter != end(); ++iter) { - const std::pair<size_t,size_t> &align = *iter; + // const std::pair<size_t,size_t> &align = *iter; if (iter->first == sourcePos) { ret.insert(iter->second); } @@ -73,10 +73,10 @@ std::set<size_t> AlignmentInfo::GetAlignmentsForTarget(size_t targetPos) const std::set<size_t> ret; CollType::const_iterator iter; for (iter = begin(); iter != end(); ++iter) { - const std::pair<size_t,size_t> &align = *iter; - if (iter->second == targetPos) { - ret.insert(iter->first); - } + // const std::pair<size_t,size_t> &align = *iter; + if (iter->second == targetPos) { + ret.insert(iter->first); + } } return ret; } |