From e96beb23f6d09d323f5cbd2ba9f8b6d4fcc7428b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 25 Nov 2025 10:16:37 -0500 Subject: feat: fix: use const T& when calling `visit`. Signed-off-by: Amlal El Mahrouss --- include/ocl/fix/parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 visit(std::basic_string in) + basic_range_data visit(const std::basic_string& in) { basic_range_data ret{}; -- cgit v1.2.3