Fixed #7484 (ValueType: crash with --debug --verbose)

This commit is contained in:
Daniel Marjamäki 2016-05-08 17:43:34 +02:00
parent e355e4ac78
commit 7edb1bc2e2
1 changed files with 1 additions and 0 deletions

View File

@ -1308,6 +1308,7 @@ SymbolDatabase::~SymbolDatabase()
const_cast<Token *>(tok)->function(0);
const_cast<Token *>(tok)->variable(0);
const_cast<Token *>(tok)->enumerator(0);
const_cast<Token *>(tok)->setValueType(0);
}
}