Replies: 1 comment
-
|
Best Practice: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the file include/fastdds/dds/subscriber/DataReader.hpp, it shows is_sample_valid() is used to check whether a loaned sample is still valid or is corrupted. But in the case test/profiling/allocations/AllocTestSubscriber.cpp, is_sample_valid() is used to check samples not loaned as well. So In which scenarios we should use is_sample_valid()
Beta Was this translation helpful? Give feedback.
All reactions