Skip to content

Commit 672d7a1

Browse files
committed
Merge PR ceph#61018 into main
* refs/pull/61018/head: msg/async/Event: make the pipe byte static Reviewed-by: Patrick Donnelly <[email protected]> Reviewed-by: Samuel Just <[email protected]>
2 parents 9c1bf9b + ef6a48c commit 672d7a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msg/async/Event.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ void EventCenter::wakeup()
347347
return ;
348348

349349
ldout(cct, 20) << __func__ << dendl;
350-
char buf = 'c';
350+
static constexpr char buf = 'c';
351351
// wake up "event_wait"
352352
#ifdef _WIN32
353353
int n = send(notify_send_fd, &buf, sizeof(buf), 0);

0 commit comments

Comments
 (0)