diff --git a/ostd/string.hh b/ostd/string.hh index d237f72..4235e10 100644 --- a/ostd/string.hh +++ b/ostd/string.hh @@ -863,7 +863,7 @@ public: s.p_buf = nullptr; s.p_allocated = false; } - TempCString(CharRangeBase input, char *sbuf, Size bufsize) + TempCString(CharRangeBase input, T *sbuf, Size bufsize) : p_buf(nullptr), p_allocated(false) { if (!input.size()) return; if (input.size() >= bufsize) {