Skip to content

Commit

Permalink
Fixed wrong order of sender and receiver timestamp in make_frame() me…
Browse files Browse the repository at this point in the history
…thod (#1252)
  • Loading branch information
hannemn authored and FlorianReimold committed Jan 23, 2024
1 parent 8d7f92e commit 37f264a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/ecalhdf5/include/ecal/measurement/imeasurement.h
Expand Up @@ -48,7 +48,7 @@ namespace eCAL
meas->GetEntryDataSize(entry.ID, message_size);
data.resize(message_size);
meas->GetEntryData(entry.ID, (void*)data.data());
return make_frame( data, entry.RcvTimestamp, entry.SndTimestamp );
return make_frame( data, entry.SndTimestamp, entry.RcvTimestamp );
}

std::string name()
Expand Down Expand Up @@ -188,7 +188,7 @@ namespace eCAL
// return m_owner[*m_entry_iterator];
BinaryFrame e = *it;
eCAL::message::Deserialize(e.message, message);
return make_frame(message, e.receive_timestamp, e.send_timestamp);
return make_frame(message, e.send_timestamp, e.receive_timestamp);
};
//friend void swap(iterator& lhs, iterator& rhs); //C++11 I think
bool operator==(const iterator& rhs) const { return it == rhs.it; };
Expand Down

0 comments on commit 37f264a

Please sign in to comment.