[DEV] update etk null

This commit is contained in:
Edouard DUPIN 2018-06-19 22:13:47 +02:00
parent 4403e38ab9
commit 0cf9706fa8

View File

@ -23,12 +23,12 @@ namespace etk {
} }
}; };
inline NullPtr getNullPointer() { inline NullPtr getNullPointer() {
// etk::nullptr exists. // etk::null exists.
NullPtr n = { }; NullPtr n = { };
return n; return n;
} }
} }
// We does not use nullptr ==> specific STD, can not be overload, and this permit to have a compatibility with STD // We does not use null ==> specific STD, can not be overload, and this permit to have a compatibility with STD
#if !defined(null) #if !defined(null)
#define null etk::getNullPointer() #define null etk::getNullPointer()
#endif #endif