diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-25 10:27:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 10:27:23 -0500 |
| commit | d8a8f00d255dd0eaea2febc29ba2e91b1458521e (patch) | |
| tree | 578f04d916ad699e967df1134fa44d4a10b81b8e /include/ocl | |
| parent | 11184da83066ebc60bfd8b5d077b2bedd4d5084b (diff) | |
| parent | e96beb23f6d09d323f5cbd2ba9f8b6d4fcc7428b (diff) | |
Merge pull request #24 from amlel-el-mahrouss/develop
develop->master
Diffstat (limited to 'include/ocl')
| -rw-r--r-- | include/ocl/fix/parser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ocl/fix/parser.hpp b/include/ocl/fix/parser.hpp index 5d4e5eb..02ab50c 100644 --- a/include/ocl/fix/parser.hpp +++ b/include/ocl/fix/parser.hpp @@ -77,7 +77,7 @@ namespace ocl::fix if (basic_range.length_ < 0) return std::basic_string<char_type>{}; - return std::basic_string<char_type>(basic_range.ascii_bytes_, basic_range.length_); + return std::basic_string<char_type>(basic_range.bytes_, basic_range.length_); } /// @brief a basic_range object containing the FIX packet values. @@ -148,7 +148,7 @@ namespace ocl::fix /// @brief Visit a FIX message and parse it into a basic_range_data object. /// @param in The input FIX message as a string. /// @warning This function may throw exceptions. - basic_range_data<char_type> visit(std::basic_string<char_type> in) + basic_range_data<char_type> visit(const std::basic_string<char_type>& in) { basic_range_data<char_type> ret{}; |
