62a7db7028
Summary: Because KWin is a very old project, we use three kinds of null pointer literals: 0, NULL, and nullptr. Since C++11, it's recommended to use nullptr keyword. This change converts all usages of 0 and NULL literal to nullptr. Even though it breaks git history, we need to do it in order to have consistent code as well to ease code reviews (it's very tempting for some people to add unrelated changes to their patches, e.g. converting NULL to nullptr). Test Plan: Compiles. Reviewers: #kwin, davidedmundson, romangg Reviewed By: #kwin, davidedmundson, romangg Subscribers: romangg, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23618 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
dbuscall.cpp | ||
dbuscall.h | ||
documentation-effect-global.xml | ||
documentation-global.xml | ||
genericscriptedconfig.cpp | ||
genericscriptedconfig.h | ||
genericscriptedconfig.json | ||
kwinscript.desktop | ||
Messages.sh | ||
meta.cpp | ||
meta.h | ||
screenedgeitem.cpp | ||
screenedgeitem.h | ||
scriptedeffect.cpp | ||
scriptedeffect.h | ||
scripting.cpp | ||
scripting.h | ||
scripting_logging.cpp | ||
scripting_logging.h | ||
scripting_model.cpp | ||
scripting_model.h | ||
scriptingutils.cpp | ||
scriptingutils.h | ||
timer.cpp | ||
workspace_wrapper.cpp | ||
workspace_wrapper.h |