Skip to content

Commit de9c965

Browse files
committed
compile error for qnx
1 parent 534870b commit de9c965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libipc/platform/posix/condition.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class condition {
115115
return true;
116116
}
117117

118-
bool notify() noexcept {
118+
bool notify(ipc::sync::mutex &) noexcept {
119119
if (!valid()) return false;
120120
int eno;
121121
if ((eno = ::pthread_cond_signal(cond_)) != 0) {
@@ -125,7 +125,7 @@ class condition {
125125
return true;
126126
}
127127

128-
bool broadcast() noexcept {
128+
bool broadcast(ipc::sync::mutex &) noexcept {
129129
if (!valid()) return false;
130130
int eno;
131131
if ((eno = ::pthread_cond_broadcast(cond_)) != 0) {

0 commit comments

Comments
 (0)