From: Otto Moerbeek Date: Fri, 12 Jan 2024 09:27:59 +0000 (+0100) Subject: 1528464 COPY_INSTEAD_OF_MOVE X-Git-Tag: dnsdist-1.9.0-rc1~36^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=393eda6da37815ac6cbe9dd0991093abb834467a;p=thirdparty%2Fpdns.git 1528464 COPY_INSTEAD_OF_MOVE --- diff --git a/pdns/recursordist/syncres.cc b/pdns/recursordist/syncres.cc index ebdfff8ac0..1cfedbc7ce 100644 --- a/pdns/recursordist/syncres.cc +++ b/pdns/recursordist/syncres.cc @@ -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; }