mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
gtest.h uses standard includes that define NULL to __null. This is different that the C++ standard that uses nullptr. Redefine NULL in GoogleTestLib.h to use C++ form of nullptr. This allows NULL to be used in checks and mocks without explicit typecasts. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> |
||
|---|---|---|
| .. | ||
| FunctionMockLib.h | ||
| GoogleTestLib.h | ||
| HostMemoryAllocationBelowAddressLib.h | ||
| SubhookLib.h | ||
| UnitTestPersistenceLib.h | ||