summaryrefslogtreecommitdiff
path: root/include/postgresHandler.h
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-03-21 03:02:59 +0100
committerAotrix <[email protected]>2025-03-21 03:02:59 +0100
commit04f6a758a0cc32574be220cb9ca2550b8a171310 (patch)
treec94468ff64a78eea83f6e1d0d769b957a9a9bca5 /include/postgresHandler.h
parent332c0ffde6d60b7bac3cb14df31cbae3f27383a7 (diff)
changed std::string_view to std::string for regex
Diffstat (limited to 'include/postgresHandler.h')
-rw-r--r--include/postgresHandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/postgresHandler.h b/include/postgresHandler.h
index 1b83618..1aaa422 100644
--- a/include/postgresHandler.h
+++ b/include/postgresHandler.h
@@ -6,4 +6,4 @@ const pqxx::result execute_query(pqxx::work &t_transaction,
void display_query_result(const pqxx::result &t_r);
-void add_cards_to_database(std::string_view t_cards, pqxx::work &t_tx);
+void add_cards_to_database(const std::string &t_cards, pqxx::work &t_tx);