diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 19:56:10 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 19:56:10 +0100 |
| commit | 700510fe095085572250830dd7c2ff8b41023031 (patch) | |
| tree | 03645e602c234da0b94a9e6884f04e712de0177d /include/ocl/fix | |
| parent | 7303fccbc8df09aa1ac8476126e4cc0ae1f0ef62 (diff) | |
fix: Put destructor in source for impl to be known.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/fix')
| -rw-r--r-- | include/ocl/fix/parser.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
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> 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 |
