changeset 8774:eb2c5c42482f

8132232: Signature mismatch between declaration and definition of PosixSemaphore::timedwait Reviewed-by: dholmes, kbarrett
author simonis
date Thu, 23 Jul 2015 16:29:48 +0200
parents b63160fcde1c
children 7c9cf9e1d3a3
files src/os/posix/vm/os_posix.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/posix/vm/os_posix.cpp	Fri Jul 24 03:50:48 2015 +0000
+++ b/src/os/posix/vm/os_posix.cpp	Thu Jul 23 16:29:48 2015 +0200
@@ -1079,7 +1079,7 @@
   return ret == 0;
 }
 
-bool PosixSemaphore::timedwait(const struct timespec ts) {
+bool PosixSemaphore::timedwait(struct timespec ts) {
   while (true) {
     int result = sem_timedwait(&_semaphore, &ts);
     if (result == 0) {