From 700510fe095085572250830dd7c2ff8b41023031 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 23 Dec 2025 19:56:10 +0100 Subject: fix: Put destructor in source for impl to be known. Signed-off-by: Amlal El Mahrouss --- include/ocl/fix/parser.hpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/ocl/fix/parser.hpp b/include/ocl/fix/parser.hpp index a39b203..c288869 100644 --- a/include/ocl/fix/parser.hpp +++ b/include/ocl/fix/parser.hpp @@ -101,7 +101,8 @@ namespace ocl::fix std::unique_ptr impl_; public: - visitor() = default; + visitor(); + ~visitor(); /// \brief Alias of visit. range_buffer operator()(const std::string& in); @@ -112,10 +113,6 @@ namespace ocl::fix range_buffer visit(const std::string& in); }; -#if !defined(OCL_FIX_HAS_IMPL) -struct visitor::impl {}; -#endif - } // namespace ocl::fix #endif // ifndef __OCL_FIX_PARSER -- cgit v1.2.3