HomeFreeBSD

kyua: Switch from std::auto_ptr<> to std::unique_ptr<>

Description

kyua: Switch from std::auto_ptr<> to std::unique_ptr<>

A few places were assigning auto_ptr<>s depending on the ownership
handoff. These now use an explicit std::move() as required by
unique_ptr<>.

Reviewed by: ngie, emaste
Differential Revision: https://reviews.freebsd.org/D49790

Details

Provenance
jhbAuthored on Apr 28 2025, 5:01 PM
Reviewer
ngie
Differential Revision
D49790: kyua: Switch from std::auto_ptr<> to std::unique_ptr<>
Parents
rG1a7c8b973933: vtnet(4): Added hw.vtnet.altq_disable tunable to manpage
Branches
Unknown
Tags
Unknown