From 04f6a758a0cc32574be220cb9ca2550b8a171310 Mon Sep 17 00:00:00 2001 From: Aotrix Date: Fri, 21 Mar 2025 03:02:59 +0100 Subject: changed std::string_view to std::string for regex --- include/postgresHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3