From 9a81631692a50591125aafc8b49d32226282f349 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Mon, 29 Apr 2024 22:11:51 +0800 Subject: [PATCH] fix gpertools initializer --- 3party/gperftools/src/base/googleinit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3party/gperftools/src/base/googleinit.h b/3party/gperftools/src/base/googleinit.h index 01ba448..b69a2a4 100644 --- a/3party/gperftools/src/base/googleinit.h +++ b/3party/gperftools/src/base/googleinit.h @@ -65,7 +65,7 @@ private: GoogleInitializer google_initializer_module_##name(#name, google_init_module_##name, NULL); \ __attribute__((constructor)) static void EnsureConstructorRunsBeforeMain() \ { \ - google_initializer_module_##name().name(); \ + google_initializer_module_##name.name(); \ } \ }