diff --git a/include/wrenpp/detail/string_bt.hpp b/include/wrenpp/detail/string_bt.hpp index 2ea006e..112f1d5 100644 --- a/include/wrenpp/detail/string_bt.hpp +++ b/include/wrenpp/detail/string_bt.hpp @@ -146,7 +146,7 @@ namespace dhandy { template template constexpr auto string::substr() const { - return string(m_data + std::min(Start, S - 1), 0) + string(""); + return string(m_data + std::min(Start, S - 1), 0) + string<1, Ch>({Ch{}}); } } //namespace bt } //namespace dhandy