FairRootGroup / FairMQ

C++ Message Queuing Library and Framework
GNU Lesser General Public License v3.0
87 stars 34 forks source link

Unintentional API change in `fair::mq::Parts::operator[](size_type)` #430

Closed dennisklein closed 1 year ago

dennisklein commented 2 years ago

https://github.com/FairRootGroup/FairMQ/commit/efd6523112f26e9ecfeb1661eecdfccf2b2f3d15 added another breaking change:

    Message& operator[](const int index) { return *(fParts[index]); }

to

    reference operator[](size_type index) { return fParts[index]; }

where reference is MessagePtr&. This was not intentional. Needs more thought.