mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
CR23684: TCollection_HExtendedString::String() returns a copy instead of const reference
Update TCollection_HExtendedString::String() implementation as well
This commit is contained in:
@@ -279,9 +279,9 @@ Standard_ExtCharacter TCollection_HExtendedString::Value
|
||||
// ----------------------------------------------------------------------------
|
||||
// String
|
||||
// ----------------------------------------------------------------------------
|
||||
TCollection_ExtendedString TCollection_HExtendedString::String() const
|
||||
const TCollection_ExtendedString& TCollection_HExtendedString::String() const
|
||||
{
|
||||
return myString;
|
||||
return myString;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user