summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/fix/fix.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lib/fix/fix.hpp')
-rw-r--r--dev/lib/fix/fix.hpp6
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.");
}
}