Changeset 6:efa135532e98 in finroc_plugins_composite_ports for internal


Ignore:
Timestamp:
15.03.2020 17:13:15 (2 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Fixes IsInputPort type trait

File:
1 edited

Legend:

Unmodified
Added
Removed
  • internal/type_traits.h

    r0 r6  
    137137struct IsInputPort 
    138138{ 
    139   enum { value = std::is_base_of<data_ports::tOutputPort<double>, TPortType<double>>::value  || 
     139  enum { value = std::is_base_of<data_ports::tInputPort<double>, TPortType<double>>::value  || 
    140140         std::is_base_of<data_ports::tProxyPort<double, false>, TPortType<double>>::value 
    141141       }; 
Note: See TracChangeset for help on using the changeset viewer.