[DEV] update etk null
This commit is contained in:
parent
4403e38ab9
commit
0cf9706fa8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user