diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-18 07:56:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-18 07:56:32 +0100 |
| commit | 4fd646501b75cb1d94a6e17d2387372d72ce797b (patch) | |
| tree | b9b6d442f8a92fea4c8943a1504dba105b133596 /dev/lib/fix | |
| parent | d6d127aefb6819fa97ef11aef0998c03a3aad88e (diff) | |
| parent | 9eec329ebdf4cf079619edb58dbcd78ce42b8626 (diff) | |
Merge pull request #10 from amlel-el-mahrouss/develop
fix: IO and FIX modules.
Diffstat (limited to 'dev/lib/fix')
| -rw-r--r-- | dev/lib/fix/fix.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/lib/fix/fix.hpp b/dev/lib/fix/fix.hpp index 9490004..67376e3 100644 --- a/dev/lib/fix/fix.hpp +++ b/dev/lib/fix/fix.hpp @@ -89,10 +89,10 @@ namespace ocl::fix class basic_range_data final { public: - std::size_t magic_len_; - std::basic_string<char_type> magic_; - std::size_t body_len_; - std::vector<std::pair<std::basic_string<char_type>, std::basic_string<char_type>>> body_; + std::size_t magic_len_{}; + std::basic_string<char_type> magic_{}; + std::size_t body_len_{}; + std::vector<std::pair<std::basic_string<char_type>, std::basic_string<char_type>>> body_{}; static inline const char_type* begin = detail::begin_fix<char_type>(); @@ -205,7 +205,7 @@ namespace ocl::fix { if (!basic_range.is_valid()) { - handler("Invalid FIX packet"); + handler.template error<true>("Invalid FIX packet"); } } |
