mirror of git://gcc.gnu.org/git/gcc.git
55123.cc: Remove duplicate include.
* testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate include. From-SVN: r193263
This commit is contained in:
parent
9422dd19d7
commit
b142d8a2b5
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-11-06 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
|
* testsuite/20_util/shared_ptr/cons/55123.cc: Remove duplicate
|
||||||
|
include.
|
||||||
|
|
||||||
2012-11-06 Paolo Carlini <paolo.carlini@oracle.com>
|
2012-11-06 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
* include/bits/atomic_base.h: Don't include <cstddef>, use nullptr.
|
* include/bits/atomic_base.h: Don't include <cstddef>, use nullptr.
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,6 @@
|
||||||
|
|
||||||
// libstdc++/55123
|
// libstdc++/55123
|
||||||
|
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
void f() {
|
void f() {
|
||||||
std::unique_ptr<const int> y;
|
std::unique_ptr<const int> y;
|
||||||
std::shared_ptr<const int> x = std::move(y);
|
std::shared_ptr<const int> x = std::move(y);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue