Skip to content

Commit 60d5cde

Browse files
kinkieyadij
authored andcommitted
Fix Mem::Segment::open() stub to fix build without shm_open() (#2016)
When the environment does not HAVE_SHM, Ipc::Mem::Segment::open() method definition does not match its declaration. Make it match. src/ipc/mem/Segment.cc:346:1: error: no declaration matches void Ipc::Mem::Segment::open() src/ipc/mem/Segment.h:37:10: note: candidate is: void Ipc::Mem::Segment::open(bool)
1 parent cca68a2 commit 60d5cde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ipc/mem/Segment.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Ipc::Mem::Segment::create(const off_t aSize)
343343
}
344344

345345
void
346-
Ipc::Mem::Segment::open()
346+
Ipc::Mem::Segment::open(bool)
347347
{
348348
assert(!theMem);
349349
checkSupport("Fake segment open");

0 commit comments

Comments
 (0)