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));
|
||||
};
|
||||
|
||||
//sentence = sentence.substr(checkSentence.size(), wstring::npos);
|
||||
sentence = sentence.substr(checkSentence.size());
|
||||
Ltrim(sentence);
|
||||
return true;
|
||||
//return !sentence.empty();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user