From 458e55868ef9b3b896dcf49aabd4d7d9cfd6ca74 Mon Sep 17 00:00:00 2001 From: Jie Date: Thu, 26 Dec 2024 14:34:37 +0800 Subject: [PATCH] Fix std::expected error --- include/sqlConnection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sqlConnection.h b/include/sqlConnection.h index e0378ee..22715f9 100644 --- a/include/sqlConnection.h +++ b/include/sqlConnection.h @@ -153,7 +153,7 @@ public: return std::unexpected(get_error_msg()); } - std::expected Execute(std::string_view command){ + std::expected Execute(std::string_view command){ auto res = mysql_query(&mysql_client, command.data()); if(!res) return std::unexpected(get_error_msg());