Fix -Wdefaulted-function-deleted warnings.

Bug: 241680050
Test: presubmit
Change-Id: I78a3effb33021b79d451f5e9f32a7d96226bdc60
2 files changed