]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix Mem::Segment::open() stub to fix build without shm_open() (#2016)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Fri, 14 Mar 2025 15:55:44 +0000 (15:55 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 14 Mar 2025 15:59:53 +0000 (15:59 +0000)
commit4efe42f9f914fce0062e9780b776dec5c27faa4b
treec870d34b152fb97c524c755f1877c00daf8e9190
parenta871412b1401180b1a996d53010270d40d9ed322
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)
src/ipc/mem/Segment.cc