diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-04 20:14:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-05-04 20:14:49 +0200 |
commit | 860abc8c2a7aeaff029ee5fad65afffc1a377019 (patch) | |
tree | 40f6ef9d6b253278067b2926eaad523018bda6cd | |
parent | 538853d89547a101f2af7c7e193a0d05576e6247 (diff) |
compat/shm: ease up on inline hints
-rw-r--r-- | compat/shm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compat/shm.h b/compat/shm.h index 5ea6c80a..ece693ea 100644 --- a/compat/shm.h +++ b/compat/shm.h @@ -19,8 +19,8 @@ #include <sys/types.h> #endif -#include "macros.hpp" #include "export.hpp" +#include "macros1.h" class OTR_COMPAT_EXPORT shm_wrapper final { @@ -32,10 +32,10 @@ class OTR_COMPAT_EXPORT shm_wrapper final #endif public: - never_inline shm_wrapper(const char *shm_name, const char *mutex_name, int map_size); - never_inline ~shm_wrapper(); - never_inline bool lock(); - never_inline bool unlock(); - never_inline bool success(); + shm_wrapper(const char *shm_name, const char *mutex_name, int map_size); + ~shm_wrapper(); + bool lock(); + bool unlock(); + bool success(); inline void* ptr() { return mem; } }; |