From 6c07fe29a5185835f28059f627a1d30e462da28b Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 29 六月 2021 14:01:19 +0800 Subject: [PATCH] add notify node change. --- src/shm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/shm.h b/src/shm.h index 7718611..e005cfc 100644 --- a/src/shm.h +++ b/src/shm.h @@ -115,7 +115,7 @@ default: break; } if (!IsOk()) { - throw("Error: shm can not create/open \"" + name_ + "\""); + throw std::runtime_error("Error: shm can not create/open \"" + name_ + "\""); } } -- Gitblit v1.8.0