From 5e26dd9cc3e999140a741779b82cce99d9582c17 Mon Sep 17 00:00:00 2001 From: jdolence Date: Thu, 17 Aug 2023 12:58:19 -0600 Subject: [PATCH] fix typo, fix bug in FlagCollection, and silence a compiler warning --- src/interface/metadata.hpp | 4 +++- src/interface/sparse_pack_base.hpp | 2 ++ src/mesh/mesh.hpp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/interface/metadata.hpp b/src/interface/metadata.hpp index 6d6f47aa1ace..f3f7fb102429 100644 --- a/src/interface/metadata.hpp +++ b/src/interface/metadata.hpp @@ -230,7 +230,9 @@ class Metadata { FlagCollection(MetadataFlag first, Args... args) : FlagCollection({first, std::forward(args)...}, false) {} // Check if set empty - bool Empty() const { return (unions_.empty() && intersections_.empty()); } + bool Empty() const { + return (unions_.empty() && intersections_.empty() && exclusions_.empty()); + } // Union template