mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02: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:
@ -83,7 +83,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
ControlReference(const bool _is_input) : range(1), is_input(_is_input), parsed_expression(NULL) {}
|
||||
ControlReference(const bool _is_input) : range(1), is_input(_is_input), parsed_expression(nullptr) {}
|
||||
ciface::ExpressionParser::Expression *parsed_expression;
|
||||
};
|
||||
|
||||
@ -113,7 +113,7 @@ public:
|
||||
Device::Control* Detect(const unsigned int ms, Device* const device) override;
|
||||
};
|
||||
|
||||
ControllerInterface() : m_is_init(false), m_hwnd(NULL) {}
|
||||
ControllerInterface() : m_is_init(false), m_hwnd(nullptr) {}
|
||||
|
||||
void SetHwnd(void* const hwnd);
|
||||
void Initialize();
|
||||
|
Reference in New Issue
Block a user