diff --git a/src/cpp/rtps/reader/reader_utils.cpp b/src/cpp/rtps/reader/reader_utils.cpp index 1b4fe88abea..67b3c98b537 100644 --- a/src/cpp/rtps/reader/reader_utils.cpp +++ b/src/cpp/rtps/reader/reader_utils.cpp @@ -35,7 +35,7 @@ bool change_is_relevant_for_filter( // This is only allowed for UNREGISTERED and DISPOSED changes, where the instanceHandle is used to identify the // instance to unregister or dispose. if ((nullptr == change.serializedPayload.data) && - ((fastdds::rtps::ALIVE == change.kind) || !change.instanceHandle.isDefined())) + ((fastrtps::rtps::ALIVE == change.kind) || !change.instanceHandle.isDefined())) { ret = false; }