From 38b7ac670a3bb4ddc3920a728c940562d687550f Mon Sep 17 00:00:00 2001 From: unex <63149623+UNEXENU@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:58:06 +0100 Subject: [PATCH] fix --- src/engine/LocalVocab.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/engine/LocalVocab.h b/src/engine/LocalVocab.h index c058b75598..f61982400d 100644 --- a/src/engine/LocalVocab.h +++ b/src/engine/LocalVocab.h @@ -128,11 +128,8 @@ class LocalVocab { return vocab.localBlankNodeManager_; }); - auto it = std::ranges::find_if( - localManagersView, - [](const std::shared_ptr& l) { - return l != nullptr; - }); + auto it = std::ranges::find_if(localManagersView, + [](const auto& l) { return l != nullptr; }); if (it == localManagersView.end()) { return; }