This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Delete gdb::unique_ptr/gdb::move


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]