From 4d68f518670b9252e2ce3165d88595b94ac6d31f Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 1 Aug 2023 13:51:52 +0200 Subject: [PATCH] speedtest: Make coverity happy (CID 1513038) --- pdns/speedtest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.47.2