Files
fs2open.github.com/code/utils
Goober5000andClaude Fable 5 473630ed85 make ship_info's subsystems a unique_ptr and default the moves
The hand-written ~350-line memberwise move existed only to manage the
one raw owning pointer, and silently left any member it didn't mention
uninitialized in the destination.  With subsystems as a unique_ptr, the
defaulted moves and destructor are correct by composition.  Copies
become explicitly deleted (use clone()).  n_subsystems stays a plain
int because it is passed to varargs functions.  The moves are not
declared noexcept because libstdc++ computes a potentially-throwing
implicit specification; NOLINT suppresses clang-tidy accordingly.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-14 13:23:37 -04:00
..
2017-11-30 13:26:20 +01:00
2025-03-17 00:31:59 -04:00
2026-01-10 13:10:05 -05:00
2021-12-29 07:07:26 -05:00
2025-02-01 23:16:33 -05:00
2021-02-18 04:23:08 -05:00
2026-04-02 08:00:28 -04:00
2026-04-02 08:00:28 -04:00
2020-04-13 14:45:19 +02:00