]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbsupport/common-defs.h
Delete gdb::unique_ptr/gdb::move
authorPedro Alves <palves@redhat.com>
Tue, 15 Nov 2016 19:54:21 +0000 (19:54 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 15 Nov 2016 19:54:21 +0000 (19:54 +0000)
commit5cc8c7310338224d65aa14c4256d4d7539e0dd45
treeaa581453ab7a6a998578e1a46ef2bca68a743592
parentb22e99fdaf2efe58161c382bbd55f4572ba49eef
Delete gdb::unique_ptr/gdb::move

Now that we require C++11 and all uses of gdb::unique_ptr and
gdb::move are gone, let's remove their definitions...

With my lazy hat on, I repurposed the header for "generally useful
unique_ptr specializations", and left gdb::unique_xmalloc_ptr in
there.  Not sure whether we it'd be better move it out of the gdb
namespace or leave it be.  I left it because it's less work and avoids
disrupting yet-unmerged patches that use it.

gdb/ChangeLog:
2016-11-15  Pedro Alves  <palves@redhat.com>

* common/common-defs.h: Update comment.
* common/gdb_unique_ptr.h: Update header comment and copyright
year.
(gdb::unique_ptr, gdb::move): Delete.
gdb/ChangeLog
gdb/common/common-defs.h
gdb/common/gdb_unique_ptr.h