From: Remi Gacogne Date: Tue, 1 Aug 2023 11:51:52 +0000 (+0200) Subject: speedtest: Make coverity happy (CID 1513038) X-Git-Tag: rec-5.0.0-alpha1~77^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d68f518670b9252e2ce3165d88595b94ac6d31f;p=thirdparty%2Fpdns.git speedtest: Make coverity happy (CID 1513038) --- diff --git a/pdns/speedtest.cc b/pdns/speedtest.cc index 055cb44bed..741bc701b9 100644 --- a/pdns/speedtest.cc +++ b/pdns/speedtest.cc @@ -939,7 +939,7 @@ struct UUIDGenTest struct NSEC3HashTest { - explicit NSEC3HashTest(int iterations, string salt) : d_iterations(iterations), d_salt(salt) {} + explicit NSEC3HashTest(int iterations, string salt) : d_iterations(iterations), d_salt(std::move(salt)) {} string getName() const {