ext: Update pybind11 to v2.8.1
Change-Id: Ia1c7081377f53fd470addf35526f8b28a949a7b0 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/52523 Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Gabe Black <gabe.black@gmail.com>
This commit is contained in:
committed by
Jason Lowe-Power
parent
ba5f68db3d
commit
1e8aeee698
@@ -20,11 +20,12 @@ TEST_SUBMODULE(modules, m) {
|
||||
// test_reference_internal
|
||||
class A {
|
||||
public:
|
||||
A(int v) : v(v) { print_created(this, v); }
|
||||
explicit A(int v) : v(v) { print_created(this, v); }
|
||||
~A() { print_destroyed(this); }
|
||||
A(const A&) { print_copy_created(this); }
|
||||
A& operator=(const A ©) { print_copy_assigned(this); v = copy.v; return *this; }
|
||||
std::string toString() { return "A[" + std::to_string(v) + "]"; }
|
||||
std::string toString() const { return "A[" + std::to_string(v) + "]"; }
|
||||
|
||||
private:
|
||||
int v;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user