mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
tests: add or delete copy/move ctors where needed to make type traits match reality (#5833)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user