SymbolDB: Use an enum class for representing symbol type

This commit is contained in:
Lioncash 2016-09-13 21:01:35 -04:00
parent d8d127df25
commit 0ac77b0288
8 changed files with 16 additions and 15 deletions

View file

@ -224,7 +224,7 @@ void DSPDebuggerLLE::OnSymbolListChange(wxCommandEvent& event)
Symbol* pSymbol = static_cast<Symbol*>(m_SymbolList->GetClientData(index));
if (pSymbol != nullptr)
{
if (pSymbol->type == Symbol::SYMBOL_FUNCTION)
if (pSymbol->type == Symbol::Type::Function)
{
JumpToAddress(pSymbol->address);
}