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

STYLE: Declare "PerThreadVariables" data members as std::vector (4x) #652

Merged
merged 1 commit into from
May 17, 2022

Conversation

N-Dekker
Copy link
Member

Instead of declaring these "PerThreadVariables" data members as raw pointers, of four Metric types. Removed the corresponding "PerThreadVariablesSize" data members. Defaulted ( = default) their destructors.Replaced for (ThreadIdType i = 0; i < numberOfThreads; ++i) loops by range-based for-loops.

Follow-up to pull request #644 commit 398cea9 "STYLE: Declared m_ComputePerThreadVariables as an std::vector (2 x)"

Instead of declaring these "PerThreadVariables" data members as raw pointers, of four `Metric` types. Removed the corresponding "PerThreadVariablesSize" data members. Defaulted ( `= default`) their destructors.Replaced `for (ThreadIdType i = 0; i < numberOfThreads; ++i)` loops by range-based for-loops.

Follow-up to pull request #644 commit 398cea9 "STYLE: Declared `m_ComputePerThreadVariables` as an `std::vector` (2 x)"
@N-Dekker N-Dekker merged commit 237e16a into develop May 17, 2022
@N-Dekker N-Dekker deleted the Replace-PerThreadVariables-vector branch May 17, 2022 08:37
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.

1 participant