diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-10 11:55:45 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-10 11:55:45 +0200 |
| commit | e23e9e7eb3a1e3876fd9d245b307dc81f16f904a (patch) | |
| tree | fc2ea3dd696147ed66f839b1c46070480b4c4650 /lib | |
| parent | 7c410d5b2c595d0a6f91f7a712697da52503d296 (diff) | |
fix: use `std::basic_string` instead of `std::string`
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/fix/parser.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fix/parser.hpp b/lib/fix/parser.hpp index 77e76fb..a9a42d2 100644 --- a/lib/fix/parser.hpp +++ b/lib/fix/parser.hpp @@ -137,8 +137,8 @@ namespace snu::fix continue; } - std::string key = in_tmp.substr(0, in_tmp.find("=")); - std::string val = in_tmp.substr(in_tmp.find("=") + 1); + std::basic_string<char_type> key = in_tmp.substr(0, in_tmp.find("=")); + std::basic_string<char_type> val = in_tmp.substr(in_tmp.find("=") + 1); if (ret.msg_magic_.empty()) { |
