[Glacier] Update String to be non-copyable by default.
This commit is contained in:
parent
ced89834de
commit
337126cabb
10 changed files with 39 additions and 42 deletions
|
|
@ -46,5 +46,6 @@ char String::operator[](uint64_t offset) const {
|
|||
}
|
||||
|
||||
String::operator StringView() const { return StringView(cstr_, length_); }
|
||||
StringView String::view() const { return this->operator StringView(); }
|
||||
|
||||
} // namespace glcr
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue