mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-01-01 03:12:13 +08:00
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.
This commit is contained in:
parent
73d59ba20e
commit
0f8bd3415c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user