diff options
author | Michele Calgaro <[email protected]> | 2024-10-27 12:49:27 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-10-27 12:49:27 +0900 |
commit | 6b1f9116760b2a693428cc93a0304dd3d7d2856a (patch) | |
tree | 0f76cad58737b69c009d1c9026d1d68162f2cb65 /indexlib/boost-compat/shared_ptr.h | |
parent | 694c1459e17db537f3bc19dabb0e47b369f25980 (diff) | |
download | tdepim-6b1f9116760b2a693428cc93a0304dd3d7d2856a.tar.gz tdepim-6b1f9116760b2a693428cc93a0304dd3d7d2856a.zip |
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'indexlib/boost-compat/shared_ptr.h')
-rw-r--r-- | indexlib/boost-compat/shared_ptr.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indexlib/boost-compat/shared_ptr.h b/indexlib/boost-compat/shared_ptr.h index a242c8299..a37976fa9 100644 --- a/indexlib/boost-compat/shared_ptr.h +++ b/indexlib/boost-compat/shared_ptr.h @@ -106,7 +106,6 @@ template<class T> class shared_ptr { private: - // Borland 5.5.1 specific workaround typedef shared_ptr<T> 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 { |