From 20f36d5bb5f30ba759676fde1a4da0579e66a878 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 11 Jan 2026 15:39:31 +0100 Subject: feat: FIX library improvements, prepping release. Signed-off-by: Amlal El Mahrouss --- src/fix/parser_impl.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/fix/parser_impl.cpp') diff --git a/src/fix/parser_impl.cpp b/src/fix/parser_impl.cpp index b776dcd..27ea01d 100644 --- a/src/fix/parser_impl.cpp +++ b/src/fix/parser_impl.cpp @@ -13,10 +13,13 @@ namespace ocl::fix namespace detail { - inline const char* begin_fix() noexcept + + inline boost::string_view& begin_fix() noexcept { - return "FIX.4.2"; + static boost::string_view begin_fix{"FIX.4.2"}; + return begin_fix; } + } // namespace detail struct visitor::impl final -- cgit v1.2.3