diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 15:19:01 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-22 15:19:01 +0200 |
commit | 350edf6e5c1f253a300fd0b7db6591082558d937 (patch) | |
tree | a6787e1e3c7243da416f1dc9828f113cbbdcbaa4 /compat/compat.h | |
parent | a42c19579c5c7a980c2826c7e015821d2e4d4b1d (diff) |
needless compat api breakage
Diffstat (limited to 'compat/compat.h')
-rw-r--r-- | compat/compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 }; |