[DEV] add null element nstead of nullptr
This commit is contained in:
parent
a2e20519f0
commit
3be47493d3
@ -33,6 +33,10 @@ namespace etk {
|
||||
#define nullptr etk::getNullPointer()
|
||||
#endif
|
||||
|
||||
#if !defined(nullptr)
|
||||
#define null etk::getNullPointer()
|
||||
#endif
|
||||
|
||||
template<class T>
|
||||
inline bool operator==(T* p, const etk::NullPtr) {
|
||||
return p == 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user