diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-04 11:20:59 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-09-04 11:21:24 +0200 |
| commit | fda7082c54ad46a56ac885d4686b82bad8dbc7c9 (patch) | |
| tree | 7f04815ad5214f97d0fb2becceceed7ce8089b3d /dev | |
| parent | 2b0834fb9b4d07ed942ba0490706352caee1a282 (diff) | |
fix: fix: mark `to_string` inline, to avoid linking issues.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/lib/fix/parser.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/lib/fix/parser.hpp b/dev/lib/fix/parser.hpp index 6e8e57a..723506e 100644 --- a/dev/lib/fix/parser.hpp +++ b/dev/lib/fix/parser.hpp @@ -77,7 +77,7 @@ namespace ocl::fix /// @brief Convert basic_range to usable string. /// @note This function assumes that the basic_range is valid and contains ASCII bytes. template <typename char_type = char> - std::basic_string<char_type> to_string(basic_range<char_type>& basic_range) noexcept + inline std::basic_string<char_type> to_string(basic_range<char_type>& basic_range) noexcept { if (basic_range.length_ < 0) return std::basic_string<char_type>{}; |
