Delete StringBuilder &operator<<(const wchar_t *str).
GitOrigin-RevId: 9bded36e98eda7717fc3f75697e91c1f3b6c3848
This commit is contained in:
parent
5e4956f91b
commit
e29f883c8f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user