src/shm.h
@@ -88,7 +88,7 @@ { pdata_ = shm_.find_or_construct<Data>(ObjName(name_).c_str(), std::nothrow)(t...); if (!IsOk()) { throw("shm error: " + name_); throw("Error: Not enough memory, can not allocate \"" + name_ + "\""); } } Data *find(const std::string &name) { return shm_.find<Data>(ObjName(name).c_str()).first; }