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:
Tillmann Karras 2014-03-09 21:14:26 +01:00
parent f28116b7da
commit d802d39281
292 changed files with 1526 additions and 1526 deletions

View file

@ -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();