Changeset 46:41a1dbbb3b74 in finroc_plugins_rpc_ports
- Timestamp:
-
04.05.2020 23:55:17
(4 years 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:
-
Legend:
- Unmodified
- Added
- Removed
-
r11
|
r46
|
|
175 | 175 | storage.reset(); |
176 | 176 | result_buffer = NULL; |
177 | | return std::move(result); |
| 177 | return result; |
178 | 178 | } |
179 | 179 | |