From 44ad069a6f787a277cbc30945138e59e7139f0c9 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 19 Dec 2024 14:56:34 -0500 Subject: [PATCH] Fix tidy warning: tidy was right --- src/app/AttributePathExpandIterator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/AttributePathExpandIterator.cpp b/src/app/AttributePathExpandIterator.cpp index 052ea80af0b634..b9f822226ae5a8 100644 --- a/src/app/AttributePathExpandIterator.cpp +++ b/src/app/AttributePathExpandIterator.cpp @@ -93,7 +93,7 @@ std::optional AttributePathExpandIterator::NextAttributeId(SearchSe auto id = session.attributes->Next(); if (id.has_value()) { - return *id; + return id; } // Finished the data model, start with global attributes