Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added and used Timer::run() helper #4533

Merged
merged 1 commit into from
Aug 7, 2024
Merged

added and used Timer::run() helper #4533

merged 1 commit into from
Aug 7, 2024

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Oct 4, 2022

No description provided.

Copy link
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

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

I think RAII is fine to use.

lib/cppcheck.cpp Show resolved Hide resolved
@firewave
Copy link
Collaborator Author

firewave commented Oct 11, 2022

I think RAII is fine to use.

It was a bit awkward in some cases though. I changed all of them because there are few instances and for the sake of consistency.

@firewave firewave merged commit bf6ae27 into danmar:main Aug 7, 2024
63 checks passed
@firewave firewave deleted the timer branch August 7, 2024 13:58
list.createAst();
list.validateAst(mSettings.debugnormal);
} else {
const SHOWTIME_MODES showTime = mTimerResults ? mSettings.showtime : SHOWTIME_MODES::SHOWTIME_NONE;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Pulling this out does not seem to make any sense. I think this might have been left over from when the settings were still a pointer to remove duplicated dereferencing code.

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