]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
1528464 COPY_INSTEAD_OF_MOVE
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 12 Jan 2024 09:27:59 +0000 (10:27 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 12 Jan 2024 09:27:59 +0000 (10:27 +0100)
pdns/recursordist/syncres.cc

index ebdfff8ac0d5f3cb13f02a3326e03a96f2d9e9e2..1cfedbc7ce89b2fe8fd97b07a4e555e9a139014c 100644 (file)
@@ -5574,7 +5574,7 @@ bool SyncRes::processAnswer(unsigned int depth, const string& prefix, LWResult&
     }
     LOG("looping to them" << endl);
     *gotNewServers = true;
-    auth = newauth;
+    auth = std::move(newauth);
 
     return false;
   }