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 v2 04/22] C++ify remote notification code


>> +  std::unique_ptr<struct notif_event> event = nc->alloc_event ();

Pedro> "std::unique_ptr<struct notif_event>" appears in a number of places
Pedro> in the patch.  Did you consider adding a "notif_event_up" typedef ?

Nope, but I've added it now.

>> -typedef std::unique_ptr<stop_reply, stop_reply_deleter> stop_reply_up;
>> +typedef std::unique_ptr<struct stop_reply> stop_reply_up;

Pedro> Odd that you added the "struct".  I tend to remove it when touching
Pedro> code instead. :-)

I changed this back.

Tom


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