mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-06 13:59:34 -06:00
clang-modernize -use-nullptr
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
This commit is contained in:
@ -335,7 +335,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
|
||||
|
||||
void CCodeView::OnMouseUpR(wxMouseEvent& event)
|
||||
{
|
||||
bool isSymbol = symbol_db->GetSymbolFromAddr(selection) != 0;
|
||||
bool isSymbol = symbol_db->GetSymbolFromAddr(selection) != nullptr;
|
||||
// popup menu
|
||||
wxMenu* menu = new wxMenu;
|
||||
//menu->Append(IDM_GOTOINMEMVIEW, "&Goto in mem view");
|
||||
@ -482,7 +482,7 @@ void CCodeView::OnPaint(wxPaintEvent& event)
|
||||
}
|
||||
if (!found)
|
||||
{
|
||||
mojs = 0;
|
||||
mojs = nullptr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user