[+] Mend noted build issues

This commit is contained in:
Reece Wilson 2021-10-02 14:19:25 +01:00
parent 1f35723107
commit c0eccaf901
2 changed files with 9 additions and 2 deletions

View File

@ -176,7 +176,12 @@ static const AuThreadId_t kThreadIdSpecialMask = AuThreadId_t(1) << AuThreadId_t
{ {
float elements[N]; float elements[N];
float &operator [](int idx) const float operator [](int idx) const
{
return elements[N];
}
float &operator [](int idx)
{ {
return elements[N]; return elements[N];
} }

View File

@ -98,6 +98,8 @@ namespace Aurora::Debug
#if defined(DEBUG) #if defined(DEBUG)
IMAGEHLP_LINE64 line; IMAGEHLP_LINE64 line;
DWORD disp;
line.SizeOfStruct = sizeof(IMAGEHLP_LINE64); line.SizeOfStruct = sizeof(IMAGEHLP_LINE64);
if (SymGetLineFromAddr64(process, stack.AddrPC.Offset, &disp, &line)) if (SymGetLineFromAddr64(process, stack.AddrPC.Offset, &disp, &line))