[DEV] replace NULL => nullptr

This commit is contained in:
Edouard DUPIN 2015-03-19 21:55:55 +01:00
parent 967b2386bd
commit ae0aa6aa6c

View File

@ -52,7 +52,7 @@ namespace river {
do { \ do { \
static FILE *pointerOnFile = nullptr; \ static FILE *pointerOnFile = nullptr; \
static bool errorOpen = false; \ static bool errorOpen = false; \
if (NULL==pointerOnFile) { \ if (pointerOnFile == nullptr) { \
RIVER_WARNING("open file '" << fileName << "' type=" << #type); \ RIVER_WARNING("open file '" << fileName << "' type=" << #type); \
pointerOnFile = fopen(fileName,"w"); \ pointerOnFile = fopen(fileName,"w"); \
if ( errorOpen == false \ if ( errorOpen == false \