code cleanup
This commit is contained in:
parent
8977d515c4
commit
4eeb747694
@ -18,11 +18,9 @@ bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
|||||||
text.erase(text.begin(), std::find_if_not(text.begin(), text.end(), iswspace));
|
text.erase(text.begin(), std::find_if_not(text.begin(), text.end(), iswspace));
|
||||||
};
|
};
|
||||||
|
|
||||||
//sentence = sentence.substr(checkSentence.size(), wstring::npos);
|
|
||||||
sentence = sentence.substr(checkSentence.size());
|
sentence = sentence.substr(checkSentence.size());
|
||||||
Ltrim(sentence);
|
Ltrim(sentence);
|
||||||
return true;
|
return true;
|
||||||
//return !sentence.empty();
|
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user