Skip to content

Commit 36f59c7

Browse files
committed
Clang 3.6 & 3.7 compatibility.
1 parent ae1ee5f commit 36f59c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_pickling_trampoline.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ namespace {
1212
struct SimpleBase {
1313
int num = 0;
1414
virtual ~SimpleBase() = default;
15+
16+
// For compatibility with old clang versions:
17+
SimpleBase() = default;
18+
SimpleBase(const SimpleBase &) = default;
1519
};
1620

1721
struct SimpleBaseTrampoline : SimpleBase {};

0 commit comments

Comments
 (0)