summaryrefslogtreecommitdiffhomepage
path: root/src/fix/parser_impl.cpp
diff options
context:
space:
mode:
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