From 0f8bd3415c0bbd4291948226adab7e06bd3f0be3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=A8=E5=A4=B4=E4=BA=91?= <372449116@qq.com> Date: Mon, 15 Dec 2025 11:33:17 +0000 Subject: [PATCH] fix(log): add missing LIBIPC_LOG() in get_info member function - src/libipc/ipc.cpp: * Add LIBIPC_LOG() to chunk_storages::get_info() member function * This was missing, causing 'log' to be undeclared at line 245 * The get_info() function uses log.error() for chunk storage errors This completes the fix for all missing LIBIPC_LOG() initializations in the ipc.cpp file. --- src/libipc/ipc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libipc/ipc.cpp b/src/libipc/ipc.cpp index 26bf1e9..4af11cc 100755 --- a/src/libipc/ipc.cpp +++ b/src/libipc/ipc.cpp @@ -230,6 +230,7 @@ auto& chunk_storages() { public: chunk_info_t *get_info(conn_info_head *inf, std::size_t chunk_size) { + LIBIPC_LOG(); std::string pref {(inf == nullptr) ? std::string{} : inf->prefix_}; std::string shm_name {ipc::make_prefix(pref, "CHUNK_INFO__", chunk_size)}; ipc::shm::handle *h;