TransferListenerWithFilter - NULL checks removed as they were conflicting with ServiceClient<>'s logic

This commit is contained in:
Pavel Kirienko
2015-05-16 14:09:32 +03:00
parent 39b924cd8a
commit 40e68d4103
@@ -218,9 +218,7 @@ public:
void installAcceptanceFilter(const ITransferAcceptanceFilter* acceptance_filter)
{
UAVCAN_ASSERT(filter_ == NULL);
filter_ = acceptance_filter;
UAVCAN_ASSERT(filter_ != NULL);
}
};