Changeset 154:e87565b5168a in finroc_plugins_data_ports


Ignore:
Timestamp:
28.03.2020 13:45:34 (11 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Phase:
public
Message:

Removes obsolete setting of default value in tPort constructor (already done in wrapped classes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tPort.h

    r146 r154  
    140140    { 
    141141      SetWrapped(tImplementation::CreatePort(creation_info)); 
    142       if (creation_info.DefaultValueSet()) 
    143       { 
    144         T t(rrlib::serialization::DefaultInstantiation<T>::Create()); 
    145         creation_info.GetDefault(t); 
    146         SetDefault(t); 
    147       } 
    148142      if (IsNumeric<T>::value) 
    149143      { 
Note: See TracChangeset for help on using the changeset viewer.