This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Delete gdb::unique_ptr/gdb::move
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 15 Nov 2016 19:56:09 +0000
- Subject: Re: [PATCH] Delete gdb::unique_ptr/gdb::move
- Authentication-results: sourceware.org; auth=none
- References: <1478654727-32352-1-git-send-email-palves@redhat.com>
On 11/09/2016 01:25 AM, Pedro Alves wrote:
> Now that we require C++11 and the previous patches I sent (once
> applied) removed all uses of gdb::unique_ptr and gdb::move, 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 should 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:
> yyyy-mm-dd 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.
Pushed as well.
Thanks,
Pedro Alves