summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-25 10:16:37 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-25 10:17:05 -0500
commite96beb23f6d09d323f5cbd2ba9f8b6d4fcc7428b (patch)
tree578f04d916ad699e967df1134fa44d4a10b81b8e /include
parent7d467583280e3cd2d0b25f6e7025502f7ebd3402 (diff)
feat: fix: use const T& when calling `visit`.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/ocl/fix/parser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ocl/fix/parser.hpp b/include/ocl/fix/parser.hpp
index 09b58c1..02ab50c 100644
--- a/include/ocl/fix/parser.hpp
+++ b/include/ocl/fix/parser.hpp
@@ -148,7 +148,7 @@ namespace ocl::fix
/// @brief Visit a FIX message and parse it into a basic_range_data object.
/// @param in The input FIX message as a string.
/// @warning This function may throw exceptions.
- basic_range_data<char_type> visit(std::basic_string<char_type> in)
+ basic_range_data<char_type> visit(const std::basic_string<char_type>& in)
{
basic_range_data<char_type> ret{};