X Tutup
Skip to content

CppCheck: removed changing of debugwarnings for non-accepted files#4965

Merged
firewave merged 1 commit intodanmar:mainfrom
firewave:setting-xyz
Apr 28, 2023
Merged

CppCheck: removed changing of debugwarnings for non-accepted files#4965
firewave merged 1 commit intodanmar:mainfrom
firewave:setting-xyz

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

This was introduced in 9a10270 and it doesn't really make sense IMO.

It will also be the last write usage of the settings after #4964 is done and allows us to make the settings const and eliminate a copy which is a minor hot spot when using ThreadExecutor and will enable us to use the shared Executor code in all cases without performance regressions.

@firewave firewave marked this pull request as ready for review April 13, 2023 13:36
@firewave
Copy link
Copy Markdown
Collaborator Author

This also resolves a minor hot spot that is caused by the Path::acceptFile() call for each file.

I tried to mitigate that in #4681 which hasn't been merged yet but getting rid of the call is obviously even better.

@firewave firewave merged commit 5658319 into danmar:main Apr 28, 2023
@firewave firewave deleted the setting-xyz branch April 28, 2023 10: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.

2 participants

X Tutup