tests: add or delete copy/move ctors where needed to make type traits match reality (#5833)

This commit is contained in:
Joshua Oreman
2025-09-08 15:47:24 -07:00
committed by GitHub
parent a6581eee89
commit 68cbae6641
11 changed files with 19 additions and 1 deletions

View File

@@ -237,6 +237,7 @@ TEST_SUBMODULE(eigen_matrix, m) {
public:
ReturnTester() { print_created(this); }
ReturnTester(const ReturnTester &) = default;
~ReturnTester() { print_destroyed(this); }
static Eigen::MatrixXd create() { return Eigen::MatrixXd::Ones(10, 10); }
// NOLINTNEXTLINE(readability-const-return-type)