Closed MartinDelille closed 5 years ago
This PR simply replace 0 or NULL by nullptr. It allow compiling the code with the following configuration:
0
NULL
nullptr
QMAKE_CXXFLAGS += -Werror -Wzero-as-null-pointer-constant
The original author wants the library to compile even with C++11 disabled. I can't accept as it is but using Q_NULLPTR instead of nullptr can be merged
Q_NULLPTR
Done!
This PR simply replace
0
orNULL
bynullptr
. It allow compiling the code with the following configuration: