src/defs.cpp
@@ -16,6 +16,8 @@ * ===================================================================================== */ #include "defs.h" #include "shm.h" namespace { @@ -40,6 +42,12 @@ const MQId &BHTopicCenterAddress() { return kBHTopicCenter; } const MQId &BHUniCenterAddress() { return kBHUniCenter; } bhome_shm::SharedMemory &BHomeShm() { static bhome_shm::SharedMemory shm("bhome_default_shm_v0", 1024 * 1024 * 512); return shm; } void SetLastError(const int ec, const std::string &msg) { LastErrorStore().ec_ = ec;