summaryrefslogtreecommitdiffhomepage
path: root/src/fix/parser_impl.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-11 15:39:31 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-11 15:39:31 +0100
commit20f36d5bb5f30ba759676fde1a4da0579e66a878 (patch)
treea2281d502c527945869a03897e9f8760bedf59aa /src/fix/parser_impl.cpp
parentd0decd01ec7c9e3f3d493cc6aa9ec87fd34a6722 (diff)
feat: FIX library improvements, prepping release.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/fix/parser_impl.cpp')
-rw-r--r--src/fix/parser_impl.cpp7
1 files changed, 5 insertions, 2 deletions
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