mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 21:42:19 +03:00
PhraseDictionaryNodeMemory doesn't need to be virtual. Slight reduction in CPU/RAM.
This commit is contained in:
parent
a88096f669
commit
23c2530617
@ -129,7 +129,7 @@ protected:
|
||||
:m_targetPhraseCollection(NULL) {
|
||||
}
|
||||
public:
|
||||
virtual ~PhraseDictionaryNodeMemory();
|
||||
~PhraseDictionaryNodeMemory();
|
||||
|
||||
bool IsLeaf() const {
|
||||
return m_sourceTermMap.empty() && m_nonTermMap.empty();
|
||||
|
Loading…
Reference in New Issue
Block a user