We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78b71e1 + 34bab6c commit 538c088Copy full SHA for 538c088
build/php_cxx_compile_stdcxx.m4
@@ -87,6 +87,7 @@ dnl
87
# Copyright (c) 2015 Paul Norman <penorman@mac.com>
88
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
89
# Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
90
+# Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
91
#
92
# Copying and distribution of this file, with or without modification, are
93
# permitted in any medium without royalty provided the copyright notice
@@ -149,11 +150,13 @@ namespace cxx11
149
150
151
struct Base
152
{
153
+ virtual ~Base() {}
154
virtual void f() {}
155
};
156
157
struct Derived : public Base
158
159
+ virtual ~Derived() override {}
160
virtual void f() override {}
161
162
0 commit comments