Skip to content

Commit 05cab00

Browse files
committed
clang <= 3.6 compatibility.
1 parent 5bdaf96 commit 05cab00

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_class_sh_virtual_py_cpp_mix.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ class Base {
1111
public:
1212
virtual ~Base() = default;
1313
virtual int get() const { return 101; }
14+
15+
Base(const Base &) = default; // clang <= 3.6 compatibility.
1416
};
1517

1618
class CppDerived : public Base {

0 commit comments

Comments
 (0)