Re: CVS commit: src/external/bsd/kyua-cli
In article <20200702140653.gf12...@mewburn.net>, Luke Mewburn wrote: >On 20-06-21 18:23, Christos Zoulas wrote: > | In article <20200621142616.60471f...@cvs.netbsd.org>, > | Luke Mewburn wrote: > | >-=-=-=-=-=- > | > > | >Module Name: src > | >Committed By: lukem > | >Date: Sun Jun 21 14:26:16 UTC 2020 > | > > | >Modified Files: > | > src/external/bsd/kyua-cli: Makefile.inc > | > > | >Log Message: > | >kyua-cli: avoid warning about deprecated auto_ptr > | > | Can you sed -ie s/auto_ptr/unique_ptr/g instead? > | You'll need to do this for c++-17 anyway. > >Done. Needed a little bit more than that because kyua-cli >was passing auto_ptrs around as function arguments or assigning >to globals; both fixed with std::move(). Cool, thanks! christos
Re: CVS commit: src/external/bsd/kyua-cli
On 20-06-21 18:23, Christos Zoulas wrote: | In article <20200621142616.60471f...@cvs.netbsd.org>, | Luke Mewburn wrote: | >-=-=-=-=-=- | > | >Module Name: src | >Committed By: lukem | >Date: Sun Jun 21 14:26:16 UTC 2020 | > | >Modified Files: | > src/external/bsd/kyua-cli: Makefile.inc | > | >Log Message: | >kyua-cli: avoid warning about deprecated auto_ptr | | Can you sed -ie s/auto_ptr/unique_ptr/g instead? | You'll need to do this for c++-17 anyway. Done. Needed a little bit more than that because kyua-cli was passing auto_ptrs around as function arguments or assigning to globals; both fixed with std::move().
Re: CVS commit: src/external/bsd/kyua-cli
In article <20200621142616.60471f...@cvs.netbsd.org>, Luke Mewburn wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: lukem >Date: Sun Jun 21 14:26:16 UTC 2020 > >Modified Files: > src/external/bsd/kyua-cli: Makefile.inc > >Log Message: >kyua-cli: avoid warning about deprecated auto_ptr Can you sed -ie s/auto_ptr/unique_ptr/g instead? You'll need to do this for c++-17 anyway. christos