Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / smart_ptr / test / shared_from_this_test.cpp
index b3d7838..52c8b98 100644 (file)
@@ -7,6 +7,10 @@
 #pragma warning(disable: 4514)  // unreferenced inline removed
 #endif
 
+#if defined(__GNUC__) && __GNUC__ > 4
+# pragma GCC diagnostic ignored "-Wdelete-non-virtual-dtor"
+#endif
+
 //
 //  shared_from_this_test.cpp
 //