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 unique_ptr, 
and from what I can tell there were no instances of copying auto_ptrs around, 
which is the major difference between the 2 classes.
Thanks,
John Senneker
 ____________________________________________________________
Electronic mail messages entering and leaving Arup business systems are scanned 
for viruses and acceptability of content.

Attachment: PoDoFo_auto_ptr-unique_ptr.patch
Description: PoDoFo_auto_ptr-unique_ptr.patch

_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to