diff options
| -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 |
