diff options
Diffstat (limited to 'lib/fix')
| -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 d4fc704..77e76fb 100644 --- a/lib/fix/parser.hpp +++ b/lib/fix/parser.hpp @@ -70,10 +70,10 @@ namespace snu::fix /// @brief Convert range to usable string. template <typename char_type> - inline std::string to_string(range<char_type>& range) noexcept + inline std::basic_string<char_type> to_string(range<char_type>& range) noexcept { if (range.length_ < 0) - return ""; + return std::basic_string<char_type>{}; return std::basic_string<char_type>(range.ascii_bytes_, range.length_); } |
