& is inappropriate for an enum
This commit is contained in:
parent
af81c46049
commit
f7dd81b61d
|
@ -9,7 +9,7 @@ static BigBufferUser s_currentUser;
|
|||
static uint32_t s_bigBuffer[BIG_BUFFER_SIZE / sizeof(uint32_t)];
|
||||
|
||||
#if EFI_UNIT_TEST
|
||||
BigBufferUser &getBigBufferCurrentUser() {
|
||||
BigBufferUser getBigBufferCurrentUser() {
|
||||
return s_currentUser;
|
||||
}
|
||||
#endif // EFI_UNIT_TEST
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "pch.h"
|
||||
|
||||
BigBufferUser &getBigBufferCurrentUser();
|
||||
BigBufferUser getBigBufferCurrentUser();
|
||||
|
||||
TEST(BigBuffer, CppMagic) {
|
||||
BigBufferHandle h = getBigBuffer(BigBufferUser::ToothLogger);
|
||||
|
|
Loading…
Reference in New Issue