Skip to content

Stack fixes#1581

Merged
matthiasrichter merged 3 commits intoAliceO2Group:devfrom
mkrzewic:StackFixes
Jan 16, 2019
Merged

Stack fixes#1581
matthiasrichter merged 3 commits intoAliceO2Group:devfrom
mkrzewic:StackFixes

Conversation

@mkrzewic
Copy link
Copy Markdown
Contributor

this largely is cleanup, also addresses codechecker warnings related to Stack.

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.

Not sure about your comment. The free-function pointer is required by FairMQDevice::NewMessageFor. Agreed, using FreeFn of Stack for this purpose is probably awkward, but since you added the function that should be fully valid. now. What do you think should be removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

DPLmerger - remove or fix somehow, that code never had a chance of working - they use a std::vector and just pass the pointer to the first element with the free function. A proper fix (using a std::vector with a pmr allocator) is contained in #1514 of which this PR is a subset - I'll make a new PR that contains the fix. Of course there are other ways of fixing it :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@matthiasrichter the proper fix is in #1593 , depends on this PR

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.

very good, thanks

@matthiasrichter matthiasrichter merged commit 1de48c5 into AliceO2Group:dev Jan 16, 2019
mikesas pushed a commit to mikesas/AliceO2 that referenced this pull request Dec 13, 2022
* Create propagatorQa.cxx

* Update CMakeLists.txt

* Please consider the following formatting changes

* re-trigger checks...

* Extra whitepace removal

* Bugfix

* Please consider the following formatting changes

Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants