Changeset 81:45307b1a5d82 in finroc_plugins_data_ports


Ignore:
Timestamp:
06.01.2015 17:32:56 (5 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
13.10
Children:
82:42573a7a0c06, 84:8564e024e4ad
Phase:
public
Message:

Bugfix in tPortCreationInfo. Flags are now always interpreted as flags in port constructors. They were interpreted as default value before if port data type T accepted core::tFrameworkElementFlag enum class in its constructor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tPortCreationInfo.h

    r47 r81  
    159159  } 
    160160 
     161  // we replicate this here, since Set() for default values catches enums if T is e.g. rrlib::si_units::tQuantity type 
     162  void Set(core::tFrameworkElement::tFlag flag) 
     163  { 
     164    tAbstractPortCreationInfo::Set(flag); 
     165  } 
     166 
    161167//---------------------------------------------------------------------- 
    162168// Private fields and methods 
Note: See TracChangeset for help on using the changeset viewer.