From 9eec329ebdf4cf079619edb58dbcd78ce42b8626 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 18 Nov 2025 07:44:48 +0100 Subject: feat: lib: error_handler improvements, new method. FIX module improvements. Signed-off-by: Amlal El Mahrouss --- dev/lib/fix/fix.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dev/lib/fix') 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 magic_; - std::size_t body_len_; - std::vector, std::basic_string>> body_; + std::size_t magic_len_{}; + std::basic_string magic_{}; + std::size_t body_len_{}; + std::vector, std::basic_string>> body_{}; static inline const char_type* begin = detail::begin_fix(); @@ -205,7 +205,7 @@ namespace ocl::fix { if (!basic_range.is_valid()) { - handler("Invalid FIX packet"); + handler.template error("Invalid FIX packet"); } } -- cgit v1.2.3