From d904ae3b03c1f76f114d1c8893a72a00b76ec4fb Mon Sep 17 00:00:00 2001 From: caprice Date: Sun, 4 May 2014 23:56:01 +0900 Subject: [PATCH] =?utf8?q?destruct()=E3=81=AB=E3=81=AF=E6=98=8E=E3=82=89?= =?utf8?q?=E3=81=8B=E3=81=ABtemplate=E3=81=8C=E5=BF=85=E8=A6=81=E3=81=AA?= =?utf8?q?=E3=81=84=E3=81=AE=E3=81=A7=E6=B6=88=E5=8E=BB=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- include/communication/shmem.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/communication/shmem.hpp b/include/communication/shmem.hpp index e43806b..b5ed733 100644 --- a/include/communication/shmem.hpp +++ b/include/communication/shmem.hpp @@ -1,6 +1,6 @@ -#ifndef GIKOMONA_CORE_INTERPROCESS_COMMUNICATION_HPP -#define GIKOMONA_CORE_INTERPROCESS_COMMUNICATION_HPP +#ifndef GIKOMONA_CORE_COMMUNICATION_SHMEM_HPP +#define GIKOMONA_CORE_COMMUNICATION_SHMEM_HPP #include @@ -36,11 +36,10 @@ T *construct(shared_memory& shmem, const std::string& name) { return shmem.construct(name.c_str())(shm.get_segment_manager()); } -template void destruct(shared_memory& shmem, const std::string& name) { shared_object::remove(name.c_str()); } } } } } -#endif // GIKOMONA_CORE_INTERPROCESS_COMMUNICATION_HPP +#endif // GIKOMONA_CORE_COMMUNICATION_SHMEM_HPP -- 2.11.0