Delete StringBuilder &operator<<(const wchar_t *str).

GitOrigin-RevId: 9bded36e98eda7717fc3f75697e91c1f3b6c3848
This commit is contained in:
levlam 2018-05-17 21:48:15 +03:00
parent 5e4956f91b
commit e29f883c8f

View File

@ -46,6 +46,8 @@ class StringBuilder {
return *this << Slice(str);
}
StringBuilder &operator<<(const wchar_t *str) = delete;
StringBuilder &operator<<(Slice slice) {
if (unlikely(end_ptr_ < current_ptr_)) {
return on_error();