Enabled copy assignment on all Borland versions (for Kylix) and g++ (for -Wsynth, report by Wolfgang Bangerth)

[SVN r17173]
This commit is contained in:
Peter Dimov
2003-02-03 13:48:33 +00:00
parent 44afc7e5cd
commit be0267f9a3

View File

@ -129,8 +129,8 @@ public:
// generated copy constructor, assignment, destructor are fine...
// except on Borland C++ 5.5.1 (and 5.6)
#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x561)
// except that Borland C++ has a bug, and g++ with -Wsynth warns
#if defined(__BORLANDC__) || defined(__GNUC__)
shared_ptr & operator=(shared_ptr const & r) // never throws
{