summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/compat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/compat.cpp b/compat/compat.cpp
index f6261738..7d9f9357 100644
--- a/compat/compat.cpp
+++ b/compat/compat.cpp
@@ -61,10 +61,10 @@ PortableLockedShm::PortableLockedShm(const char *shmName, const char *mutexName,
mem = (void*) -1;
}
-PortableLockedShm::success()
+bool PortableLockedShm::success()
{
#ifndef _WIN32
- return (void*) mem != (void*) -1
+ return (void*) mem != (void*) -1;
#else
return (void*) mem != NULL;
#endif