aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/tss.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2022-02-04 18:05:34 -0500
committerJack Lloyd <[email protected]>2022-02-06 08:52:16 -0500
commitfbb7c5fba1bcde2460dda48c1423a23b3b3062bf (patch)
treec0b9cd348067f0813d80e9b1b23b149d1a0d0af2 /src/cli/tss.cpp
parent3c8d79246c7c5c57296d3165922b58aad401e5e3 (diff)
Fix clang-tidy performance warnings
Diffstat (limited to 'src/cli/tss.cpp')
-rw-r--r--src/cli/tss.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/tss.cpp b/src/cli/tss.cpp
index 0756616b2..4f11fc0a3 100644
--- a/src/cli/tss.cpp
+++ b/src/cli/tss.cpp
@@ -118,7 +118,7 @@ class TSS_Recover final : public Command
std::vector<Botan::RTSS_Share> shares;
- for(std::string share_fsname : get_arg_list("shares"))
+ for(const std::string& share_fsname : get_arg_list("shares"))
{
auto v = slurp_file(share_fsname);
shares.push_back(Botan::RTSS_Share(v.data(), v.size()));