mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
change serialization API so that it takes a FairMQMessage reference
This commit is contained in:
@@ -81,6 +81,9 @@ class FairMQParts
|
||||
/// @param index container index
|
||||
inline std::unique_ptr<FairMQMessage>& At(const int index) { return fParts.at(index); }
|
||||
|
||||
|
||||
inline FairMQMessage& At_ref(const int index) { return *(fParts.at(index)); }
|
||||
|
||||
template<typename Deserializer, typename DataType>
|
||||
inline void At(DataType&& data, const int index)
|
||||
{
|
||||
|
Reference in New Issue
Block a user