Skip to content

Commit cac54ba

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_class_sh_virtual_py_cpp_mix.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ class Base {
1111
public:
1212
virtual ~Base() = default;
1313
virtual int get() const { return 101; }
14+
15+
// Some compilers complain about implicitly defined versions of some of the following:
16+
Base() = default;
17+
Base(const Base &) = default;
1418
};
1519

1620
class CppDerived : public Base {

0 commit comments

Comments
 (0)