diff options
| author | Martin Hořeňovský | 2021-05-29 16:37:51 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-05-29 16:41:57 +0200 |
| commit | 1d04427fcdf81fb13c754c659f4bcde0403a8855 (patch) | |
| tree | 4d4de9a2b99ff88be12b9c658c9690544110c96a /tests/ExtraTests/X23-CasingInReporterNames.cpp | |
| parent | aba114d6fed8e1ea2100a95004f93c378b696689 (diff) | |
| download | catch3-1d04427fcdf81fb13c754c659f4bcde0403a8855.tar.gz | |
Use StringRef through XmlEncode
This introduces a potential lifetime risk when using the API, but
the intended way to use the `XmlEncode` class is to use it directly,
e.g. `out << XmlEncode(some-text-argument)`, not to store it around.
The benefit is that we avoid allocations for strings that do not fit
into SSO for given platform.
Diffstat (limited to 'tests/ExtraTests/X23-CasingInReporterNames.cpp')
0 files changed, 0 insertions, 0 deletions