Re: [Podofo-users] Patch replacing auto_ptr with unique_ptr

2020-03-27 Thread zyx
On Tue, 2020-02-04 at 09:16 +0100, zyx wrote: > An ideal solution, from my point of view, would be to stop using > auto_ptr in the public API completely. Hi, I went ahead and removed usage of std::auto_ptr from the public API. It's committed as r2007: http://sourceforge.net/p/podofo/code/2

Re: [Podofo-users] Patch replacing auto_ptr with unique_ptr

2020-02-04 Thread zyx
On Mon, 2020-02-03 at 20:56 +0100, John Senneker wrote: > As mentioned in ticket #17 ( > https://sourceforge.net/p/podofo/tickets/17/), auto_ptr was > deprecated in C++11, and removed in C++17. In order to support modern > compilers, I’ve attached a patch that replaces all usages of auto_ptr > with

[Podofo-users] Patch replacing auto_ptr with unique_ptr

2020-02-03 Thread John Senneker
Hi, As mentioned in ticket #17 (https://sourceforge.net/p/podofo/tickets/17/), auto_ptr was deprecated in C++11, and removed in C++17. In order to support modern compilers, I've attached a patch that replaces all usages of auto_ptr with unique_ptr. There were no compiler issues after dropping in