fix [-Wdeprecated-copy]
This commit is contained in:
parent
3cbe922765
commit
155d633ae9
|
|
@ -344,6 +344,9 @@ String( const char* string )
|
|||
String( StringRange range )
|
||||
: Buffer( range ){
|
||||
}
|
||||
String( const String& other )
|
||||
: Buffer( other ){
|
||||
}
|
||||
|
||||
String& operator=( const String& other ){
|
||||
String temp( other );
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user