diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-22 02:28:44 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-22 02:28:44 -0500 |
| commit | 8470a48ef4c6ea4b16e9a764aaedc7158f9c37ed (patch) | |
| tree | 9c6e64d288199110887e599458b212a36183572f /dev/lib/fix | |
| parent | 6f8c36c3e004b9dc6802128f1cae34812cb8287b (diff) | |
| parent | 32af6ab79fe52efa6fc773a672e2732388999692 (diff) | |
Merge pull request #16 from amlel-el-mahrouss/developv1.0.471
chore & fix: codebase improvements and repo maintenance.
Diffstat (limited to 'dev/lib/fix')
| -rw-r--r-- | dev/lib/fix/fix.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/lib/fix/fix.hpp b/dev/lib/fix/fix.hpp index 6f02fa1..4f02e28 100644 --- a/dev/lib/fix/fix.hpp +++ b/dev/lib/fix/fix.hpp @@ -158,9 +158,7 @@ namespace ocl::fix if (in.empty()) return ret; - static thread_local std::basic_string<char_type> in_tmp{}; - - in_tmp.reserve(in.size()); + std::basic_string<char_type> in_tmp{"", in.size()}; try { @@ -205,7 +203,7 @@ namespace ocl::fix { if (!basic_range.is_valid()) { - handler.template error<true>("Invalid FIX packet."); + handler.template error<true>("Invalid FIX Message."); } } |
