blob: 8c8cc87f75f76afa5dbf535fc725e996d99e226f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff -pNaru5 a/include/ptlib/object.h b/include/ptlib/object.h
--- a/include/ptlib/object.h 2022-03-27 09:56:49.000000000 -0400
+++ b/include/ptlib/object.h 2024-02-04 03:03:42.939965554 -0500
@@ -92,11 +92,12 @@ using namespace std; // Not a good pract
///////////////////////////////////////////////////////////////////////////////
// Deal with different C++ versions and std::auto_ptr deprecation
-#if __cplusplus < 201103L
+//#if __cplusplus < 201103L
+#if 1
template <typename T> class PAutoPtr : public std::auto_ptr<T>
{
public:
PAutoPtr() { }
explicit PAutoPtr(T * p) : std::auto_ptr<T>(p) { }
|