1
0
Fork 0

GUI: Capturing registers by reference instead of by copy in TraceWidget.cpp

This commit is contained in:
morsisko 2020-08-04 17:42:53 +02:00 committed by Duncan Ogilvie
parent 6ba36edbf0
commit de237b816f
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ void TraceWidget::updateInfobox(unsigned long long selection, TraceFileReader* t
mInfo->setCellContent(1, 0, QString());
mInfo->setCellContent(2, 0, QString());
mInfo->setCellContent(3, 0, QString());
auto resolveRegValue = [registers](ZydisRegister regname)
auto resolveRegValue = [&registers](ZydisRegister regname)
{
switch(regname)
{