From 8df909835dc54893bb75b16b2383e16f75e82be7 Mon Sep 17 00:00:00 2001 From: Eric Berquist Date: Thu, 19 Oct 2023 09:53:12 -0600 Subject: [PATCH] Explicitly ignore return value --- src/sst/core/statapi/statgroup.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sst/core/statapi/statgroup.cc b/src/sst/core/statapi/statgroup.cc index 9611f499d..2cdda7db5 100644 --- a/src/sst/core/statapi/statgroup.cc +++ b/src/sst/core/statapi/statgroup.cc @@ -50,7 +50,7 @@ bool StatisticGroup::containsStatistic(const StatisticBase* stat) const { if ( isDefault ) return true; - std::find(stats.begin(), stats.end(), stat); + std::ignore = std::find(stats.begin(), stats.end(), stat); return false; }