Skip to content

ThreadResult: use FileWithDetails for mFiles#7598

Merged
firewave merged 2 commits intocppcheck-opensource:mainfrom
firewave:gui-details
Jun 20, 2025
Merged

ThreadResult: use FileWithDetails for mFiles#7598
firewave merged 2 commits intocppcheck-opensource:mainfrom
firewave:gui-details

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread gui/threadresult.cpp
}

QString ThreadResult::getNextFile()
void ThreadResult::getNextFile(const FileWithDetails*& file)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we return the pointer instead of using outparam?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to keep it in line with the existing code here and the duplicated code in ThreadData from threadexecutor.cpp.

@firewave firewave merged commit c7e7c7e into cppcheck-opensource:main Jun 20, 2025
53 checks passed
@firewave firewave deleted the gui-details branch June 20, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants