From 7303fccbc8df09aa1ac8476126e4cc0ae1f0ef62 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 23 Dec 2025 11:06:30 +0100 Subject: fix: Fix FIX impl. Signed-off-by: Amlal El Mahrouss --- include/ocl/fix/parser.hpp | 4 ++-- src/fix/parser_impl.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/ocl/fix/parser.hpp b/include/ocl/fix/parser.hpp index 4800a86..a39b203 100644 --- a/include/ocl/fix/parser.hpp +++ b/include/ocl/fix/parser.hpp @@ -104,12 +104,12 @@ namespace ocl::fix visitor() = default; /// \brief Alias of visit. - range_buffer operator()(const boost::string_view& in); + range_buffer operator()(const std::string& in); /// @brief Visits a FIX message and parse it into a range_buffer object. /// @param in The input FIX message as a string. /// @warning This function may throw exceptions. - range_buffer visit(const boost::string_view& in); + range_buffer visit(const std::string& in); }; #if !defined(OCL_FIX_HAS_IMPL) diff --git a/src/fix/parser_impl.cpp b/src/fix/parser_impl.cpp index 28c9d0d..b12166a 100644 --- a/src/fix/parser_impl.cpp +++ b/src/fix/parser_impl.cpp @@ -81,7 +81,7 @@ namespace ocl::fix /// \brief Alias of visit. range_buffer visitor::operator()(const std::string& in) { - return impl_->visit(in); + return impl_->visit(in.data()); } /// @brief Visits a FIX message and parse it into a range_buffer object. @@ -89,7 +89,7 @@ namespace ocl::fix /// @warning This function may throw exceptions. range_buffer visitor::visit(const std::string& in) { - return impl_->visit(in); + return impl_->visit(in.data()); } } // namespace ocl::fix -- cgit v1.2.3