Changeset 488:9bcc51cd5ba0 in finroc_core


Ignore:
Timestamp:
15.12.2021 15:49:20 (16 months ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
17.03
Phase:
public
Message:

Fixes glitch in IsDataFlowType function: returned 'true' on undefined type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • port/tEdgeAggregator.h

    r472 r488  
    139139  inline static bool IsDataFlowType(const rrlib::rtti::tType& type) 
    140140  { 
    141     return type.GetTypeClassification() != rrlib::rtti::tTypeClassification::RPC_TYPE && type.GetTypeClassification() != rrlib::rtti::tTypeClassification::PORT_COMPOSITE_INTERFACE; 
     141    return type && type.GetTypeClassification() != rrlib::rtti::tTypeClassification::RPC_TYPE && type.GetTypeClassification() != rrlib::rtti::tTypeClassification::PORT_COMPOSITE_INTERFACE; 
    142142  } 
    143143 
Note: See TracChangeset for help on using the changeset viewer.