From 1a970c2afc4e53022428cf2aa83c333fa31f2bbd Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 27 Oct 2024 12:49:27 +0900 Subject: Drop Borland compiler specific code Signed-off-by: Michele Calgaro (cherry picked from commit 6b1f9116760b2a693428cc93a0304dd3d7d2856a) --- indexlib/boost-compat/shared_ptr.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'indexlib/boost-compat/shared_ptr.h') diff --git a/indexlib/boost-compat/shared_ptr.h b/indexlib/boost-compat/shared_ptr.h index a242c829..a37976fa 100644 --- a/indexlib/boost-compat/shared_ptr.h +++ b/indexlib/boost-compat/shared_ptr.h @@ -106,7 +106,6 @@ template class shared_ptr { private: - // Borland 5.5.1 specific workaround typedef shared_ptr this_type; public: @@ -139,8 +138,8 @@ public: // generated copy constructor, assignment, destructor are fine... -// except that Borland C++ has a bug, and g++ with -Wsynth warns -#if defined(__BORLANDC__) || defined(__GNUC__) +// except that g++ with -Wsynth warns +#if defined(__GNUC__) shared_ptr & operator=(shared_ptr const & r) // never throws { -- cgit v1.2.3