diff options
| -rw-r--r-- | include/ocl/fix/parser.hpp | 7 | ||||
| -rw-r--r-- | src/fix/parser_impl.cpp | 3 |
2 files changed, 5 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 diff --git a/src/fix/parser_impl.cpp b/src/fix/parser_impl.cpp index b12166a..cc18035 100644 --- a/src/fix/parser_impl.cpp +++ b/src/fix/parser_impl.cpp @@ -78,6 +78,9 @@ namespace ocl::fix } }; + visitor::visitor() = default; + visitor::~visitor() = default; + /// \brief Alias of visit. range_buffer visitor::operator()(const std::string& in) { |
