From f8fb6fda75423973743da5f9f9f573a2af97a013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Tue, 14 May 2024 15:54:57 +0200 Subject: [PATCH] Fix compilation for Centos 7 --- lib/ProxySQL_Cluster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ProxySQL_Cluster.cpp b/lib/ProxySQL_Cluster.cpp index 252b0638f..64a870c9e 100644 --- a/lib/ProxySQL_Cluster.cpp +++ b/lib/ProxySQL_Cluster.cpp @@ -74,7 +74,7 @@ void * ProxySQL_Cluster_Monitor_thread(void *args) { goto __exit_monitor_thread; } while (glovars.shutdown == 0 && rc_bool == true) { - cluster_creds_t creds { GloProxyCluster->get_credentials() }; + cluster_creds_t creds(GloProxyCluster->get_credentials()); if (creds.user.size()) { // do not monitor if the username is empty if (conn == NULL) {