diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fix/parser_impl.cpp | 7 |
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 |
