Changeset 46:41a1dbbb3b74 in finroc_plugins_rpc_ports


Ignore:
Timestamp:
04.05.2020 23:55:17 (12 months ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
14.08
Phase:
public
Message:

Fixes compiler warnings with gcc 9.3 ('moving a local object in a return statement prevents copy elision')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tFuture.h

    r11 r46  
    175175    storage.reset(); 
    176176    result_buffer = NULL; 
    177     return std::move(result); 
     177    return result; 
    178178  } 
    179179 
Note: See TracChangeset for help on using the changeset viewer.