FairRootGroup / FairMQ

C++ Message Queuing Library and Framework
GNU Lesser General Public License v3.0
86 stars 34 forks source link

shmem/UnmanagedRegion.h:279:126: warning: expression result unused [-Wunused-value] #470

Closed dennisklein closed 1 year ago

dennisklein commented 1 year ago
shmem/Monitor.cxx:12:
shmem/UnmanagedRegion.h:279:126: warning: expression result unused [-Wunused-value]
        shmRegions->emplace(cfg.id.value(), RegionInfo(cfg.path.c_str(), cfg.creationFlags, cfg.userFlags, cfg.size, alloc)).second;
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~