bundy

* Modular * Extensible * Friendly *

[Bundy-hackers] Updates for C++11 - migration from auto_ptr to unique_ptr

Carsten Strotmann carsten at strotmann.de
Sun Jan 1 16:18:02 CET 2017


Hi,

as the modern C++ 11 standard deprecates the "auto_ptr" type (and Fedora
25 comes with a fresh g++ that complaints about the use of "auto_ptr"),
I've migrated from "auto_ptr" to the new "unique_ptr". Code compiles
(and seems to work), but please can someone with more C++ knowledge have
a look and merge my pull request if it looks reasonable.

a good new year 2017!

Carsten

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.bundy-dns.de/pipermail/bundy-hackers/attachments/20170101/fbf41711/attachment.sig>