PhraseDictionaryNodeMemory doesn't need to be virtual. Slight reduction in CPU/RAM.

This commit is contained in:
Kenneth Heafield 2013-07-12 06:23:03 -07:00
parent a88096f669
commit 23c2530617

View File

@ -129,7 +129,7 @@ protected:
:m_targetPhraseCollection(NULL) {
}
public:
virtual ~PhraseDictionaryNodeMemory();
~PhraseDictionaryNodeMemory();
bool IsLeaf() const {
return m_sourceTermMap.empty() && m_nonTermMap.empty();