Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieu@hoang.co.uk>2013-04-29 21:46:48 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-04-29 21:46:48 +0400
commitce95c117f6ca765958e533d1e2d5e3175e2346a1 (patch)
tree2e63c68b11bd0e101250dc3f7de54d444288a400 /moses/Phrase.cpp
parentf5d3f16fab07f22cb1ca9070d33e413fd0aa0f3f (diff)
parent972001e345573e9c193b035f1ed016e8721606ca (diff)
merge
Diffstat (limited to 'moses/Phrase.cpp')
-rw-r--r--moses/Phrase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/Phrase.cpp b/moses/Phrase.cpp
index a19c1fb5e..d4418b97a 100644
--- a/moses/Phrase.cpp
+++ b/moses/Phrase.cpp
@@ -257,8 +257,8 @@ bool Phrase::Contains(const vector< vector<string> > &subPhraseVector
FactorType factorType = inputFactor[currFactorIndex];
for (size_t currSubPos = 0 ; currSubPos < subSize ; currSubPos++) {
size_t currThisPos = currSubPos + currStartPos;
- const string &subStr = subPhraseVector[currSubPos][currFactorIndex]
- ,&thisStr = GetFactor(currThisPos, factorType)->GetString();
+ const string &subStr = subPhraseVector[currSubPos][currFactorIndex];
+ StringPiece thisStr = GetFactor(currThisPos, factorType)->GetString();
if (subStr != thisStr) {
match = false;
break;