From 350edf6e5c1f253a300fd0b7db6591082558d937 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 22 Sep 2014 15:19:01 +0200 Subject: needless compat api breakage --- compat/compat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat/compat.h') diff --git a/compat/compat.h b/compat/compat.h index 0e488752..490d8913 100644 --- a/compat/compat.h +++ b/compat/compat.h @@ -38,12 +38,12 @@ public: void lock(); void unlock(); bool success(); - void* mem; + inline void* ptr() { return mem; } private: + void* mem; #if defined(_WIN32) HANDLE hMutex, hMapFile; #else int fd, size; - //char shm_filename[NAME_MAX]; #endif }; -- cgit v1.2.3