Skip to content

Commit 15b572b

Browse files
authored
Update condition.h
1 parent de9c965 commit 15b572b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libipc/platform/posix/condition.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class condition {
6363
ipc::error("fail pthread_condattr_init[%d]\n", eno);
6464
return false;
6565
}
66-
IPC_UNUSED_ auto guard_cond_attr = guard([&cond_attr] { ::pthread_condattr_destroy(&cond_attr); };
66+
IPC_UNUSED_ auto guard_cond_attr = guard([&cond_attr] { ::pthread_condattr_destroy(&cond_attr); });
6767
if ((eno = ::pthread_condattr_setpshared(&cond_attr, PTHREAD_PROCESS_SHARED)) != 0) {
6868
ipc::error("fail pthread_condattr_setpshared[%d]\n", eno);
6969
return false;

0 commit comments

Comments
 (0)