diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-05-09 11:26:58 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-05-09 18:48:52 +0200 |
commit | fa28850562bda0c2049aaff42103dfa6f05395dc (patch) | |
tree | 985be04decca6d436b35ceec283c9023c5e1d8a4 /src/external_signer.cpp | |
parent | faaa60a30e7738a1490c9c2bb8963420f53c7f2d (diff) |
Fix clang-tidy performance-unnecessary-copy-initialization warnings
Diffstat (limited to 'src/external_signer.cpp')
-rw-r--r-- | src/external_signer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external_signer.cpp b/src/external_signer.cpp index dc0f7e6046..6b1e1f0241 100644 --- a/src/external_signer.cpp +++ b/src/external_signer.cpp @@ -42,7 +42,7 @@ bool ExternalSigner::Enumerate(const std::string& command, std::vector<ExternalS if (fingerprint.isNull()) { throw std::runtime_error(strprintf("'%s' received invalid response, missing signer fingerprint", command)); } - const std::string fingerprintStr = fingerprint.get_str(); + const std::string& fingerprintStr{fingerprint.get_str()}; // Skip duplicate signer bool duplicate = false; for (const ExternalSigner& signer : signers) { |