mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-09 13:52:01 -04:00
Silence analyzer warnings and fix potential issues
This commit is contained in:
parent
bbdfe28449
commit
cf01543f06
11 changed files with 85 additions and 73 deletions
|
@ -44,7 +44,7 @@ private:
|
|||
TreeModel *model;
|
||||
FfsParser *ffsParser;
|
||||
std::vector<std::pair<UString, UModelIndex> > messagesVector;
|
||||
void msg(const UString message, const UModelIndex index = UModelIndex()) {
|
||||
void msg(const UString & message, const UModelIndex & index = UModelIndex()) {
|
||||
messagesVector.push_back(std::pair<UString, UModelIndex>(message, index));
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue