aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/sessions_sql
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/lib/tls/sessions_sql
parent3c8d79246c7c5c57296d3165922b58aad401e5e3 (diff)
Fix clang-tidy performance warnings
Diffstat (limited to 'src/lib/tls/sessions_sql')
-rw-r--r--src/lib/tls/sessions_sql/tls_session_manager_sql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/sessions_sql/tls_session_manager_sql.cpp b/src/lib/tls/sessions_sql/tls_session_manager_sql.cpp
index 4045011db..48c34db56 100644
--- a/src/lib/tls/sessions_sql/tls_session_manager_sql.cpp
+++ b/src/lib/tls/sessions_sql/tls_session_manager_sql.cpp
@@ -22,7 +22,7 @@ Session_Manager_SQL::Session_Manager_SQL(std::shared_ptr<SQL_Database> db,
RandomNumberGenerator& rng,
size_t max_sessions,
std::chrono::seconds session_lifetime) :
- m_db(db),
+ m_db(std::move(db)),
m_rng(rng),
m_max_sessions(max_sessions),
m_session_lifetime(session_lifetime)