diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 11:06:30 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 11:06:30 +0100 |
| commit | 7303fccbc8df09aa1ac8476126e4cc0ae1f0ef62 (patch) | |
| tree | 2dfdbe629ee2620f6f76bee733d9a6755e843eaa | |
| parent | 478ce0a595caefb46ca2beadb3630cc7957d80f1 (diff) | |
fix: Fix FIX impl.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | include/ocl/fix/parser.hpp | 4 | ||||
| -rw-r--r-- | 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 |
