From ed4f331bc96b4abb711c5b47c969d5ecb3166e15 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 29 Dec 2025 22:43:23 +0100 Subject: feat: fix CMake example, update free functions. Signed-off-by: Amlal El Mahrouss --- include/ocl/fix.hpp | 6 +++--- include/ocl/fix/parser.hpp | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/ocl/fix.hpp b/include/ocl/fix.hpp index d8c7a3b..26742bd 100644 --- a/include/ocl/fix.hpp +++ b/include/ocl/fix.hpp @@ -14,13 +14,13 @@ namespace ocl::fix { - - template + + template It find(It begin, It end, Pred callable); template It find_if(It begin, It end, Callable callable); -} +} // namespace ocl::fix #endif diff --git a/include/ocl/fix/parser.hpp b/include/ocl/fix/parser.hpp index ffac652..ceba660 100644 --- a/include/ocl/fix/parser.hpp +++ b/include/ocl/fix/parser.hpp @@ -100,7 +100,9 @@ namespace ocl::fix std::unique_ptr impl_; #ifndef OCL_FIX_HAS_IMPL - struct impl {}; + struct impl + { + }; #endif public: -- cgit v1.2.3