diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2014-03-09 21:14:26 +0100 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2014-03-09 21:14:26 +0100 |
| commit | d802d392811be44d34ae9cd23f616db93e54c50f (patch) | |
| tree | f9aa8831a0731ea246bd921d979f4bffa7f07bd0 /Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp | |
| parent | f28116b7da6aac6069084596dc4dbf866bdebfd8 (diff) | |
clang-modernize -use-nullptr
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp b/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp index b755af5993..f9fd51eec0 100644 --- a/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp @@ -34,7 +34,7 @@ class wxWindow; -DSPDebuggerLLE* m_DebuggerFrame = NULL; +DSPDebuggerLLE* m_DebuggerFrame = nullptr; BEGIN_EVENT_TABLE(DSPDebuggerLLE, wxPanel) EVT_CLOSE(DSPDebuggerLLE::OnClose) @@ -69,7 +69,7 @@ DSPDebuggerLLE::DSPDebuggerLLE(wxWindow* parent, wxWindowID id) m_Toolbar->Realize(); m_SymbolList = new wxListBox(this, ID_SYMBOLLIST, wxDefaultPosition, - wxSize(140, 100), 0, NULL, wxLB_SORT); + wxSize(140, 100), 0, nullptr, wxLB_SORT); m_MainNotebook = new wxAuiNotebook(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, @@ -118,7 +118,7 @@ DSPDebuggerLLE::DSPDebuggerLLE(wxWindow* parent, wxWindowID id) DSPDebuggerLLE::~DSPDebuggerLLE() { m_mgr.UnInit(); - m_DebuggerFrame = NULL; + m_DebuggerFrame = nullptr; } void DSPDebuggerLLE::OnClose(wxCloseEvent& event) @@ -217,7 +217,7 @@ void DSPDebuggerLLE::UpdateDisAsmListView() void DSPDebuggerLLE::UpdateSymbolMap() { - if (g_dsp.dram == NULL) + if (g_dsp.dram == nullptr) return; m_SymbolList->Freeze(); // HyperIris: wx style fast filling @@ -235,7 +235,7 @@ void DSPDebuggerLLE::OnSymbolListChange(wxCommandEvent& event) int index = m_SymbolList->GetSelection(); if (index >= 0) { Symbol* pSymbol = static_cast<Symbol *>(m_SymbolList->GetClientData(index)); - if (pSymbol != NULL) + if (pSymbol != nullptr) { if (pSymbol->type == Symbol::SYMBOL_FUNCTION) { |
