From 4e5cb7960ce4e7e66d5190be67426aeca8b55c3d Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 09 四月 2021 18:45:08 +0800
Subject: [PATCH] add heartbeat, not tested yet.

---
 src/shm.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/shm.cpp b/src/shm.cpp
index d628b56..1658900 100644
--- a/src/shm.cpp
+++ b/src/shm.cpp
@@ -21,9 +21,9 @@
 namespace bhome_shm
 {
 
-SharedMemory::SharedMemory(const std::string &name, const uint64_t size)
-    : mshm_t(open_or_create, name.c_str(), size, 0, AllowAll()),
-      name_(name)
+SharedMemory::SharedMemory(const std::string &name, const uint64_t size) :
+    mshm_t(open_or_create, name.c_str(), size, 0, AllowAll()),
+    name_(name)
 {
 }
 

--
Gitblit v1.8.0