Fix incorrect comment about std::auto_ptr
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Oct 2016 18:18:43 +0000 (19:18 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 19 Oct 2016 18:18:43 +0000 (19:18 +0100)
commit181f50b626580d7d5e2ee82e945024e8145f9761
treeca880220b8bb01944aeaa90da01dcbf4b703701f
parentc6cc81d61313cf875924c5bfcda801e3c0dbfd6c
Fix incorrect comment about std::auto_ptr

* include/backward/auto_ptr.h (dauto_ptr): Correct comment about
conversions from auto_ptr<Derived> rvalues to auto_ptr<Base>.
* testsuite/20_util/auto_ptr/assign_neg.cc: Remove redundant dg-error
directives that only match notes, not errors.

From-SVN: r241349
libstdc++-v3/ChangeLog
libstdc++-v3/include/backward/auto_ptr.h
libstdc++-v3/testsuite/20_util/auto_ptr/assign_neg.cc