From 58d904a328c0d849769b483e901a0be9426b8209 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期二, 20 七月 2021 20:20:44 +0800 Subject: [PATCH] 调整Request C.BHFree的位置 --- 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