From e97fb46dd9fd045fc18ce5a854722797ffc0bffe Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Sat, 18 May 2024 16:48:07 +0200 Subject: [PATCH] Updated deprecated code --- include/aidge/graph/Matching.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/aidge/graph/Matching.hpp b/include/aidge/graph/Matching.hpp index 004011481..354eaa575 100644 --- a/include/aidge/graph/Matching.hpp +++ b/include/aidge/graph/Matching.hpp @@ -172,7 +172,7 @@ private: str.erase(str.begin(), std::find_if(str.begin(), str.end(), - std::not1(std::ptr_fun<int, int>(std::isspace)))); + [](char c) { return !std::isspace(c); })); } }; } // namespace Aidge -- GitLab