fix [-Wdeprecated-copy]
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user