Tom Sepez 7085a884aa Avoid string duplication when returning StringBuilder strings
The const-ref result of .str() must be copied into the returned
value, whereas the result of .Release() can be moved.

Bug: webrtc:374845009
Change-Id: I3abc98be30ce9947127c7664f5ffa6846b772ea2
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/366480
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43288}
2024-10-23 07:54:18 +00:00
..
2024-07-23 17:23:45 +00:00
2024-10-02 14:41:09 +00:00
2024-10-02 14:41:09 +00:00
2024-09-19 10:18:13 +00:00
2024-09-19 21:41:02 +00:00
2024-09-19 21:41:02 +00:00
2024-09-19 21:41:02 +00:00