HomeFreeBSD

libdevdctl: g++9 avoid Wdeprecated-copy

Description

libdevdctl: g++9 avoid Wdeprecated-copy

g++9 now warns about having defined an assignment operator but using the
default copy constructor, or vice versa. Avoid the issue in libdevdctl
by just using the default assignment operator too.

Reviewed by: asomers, dim
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22887

Details

Provenance
rlibbyAuthored on Dec 21 2019, 2:44 AM
Parents
rGfa19b250bdb7: dtrace: avoid gcc9 Walloca-larger-than
Branches
Unknown
Tags
Unknown

Event Timeline