diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2024-09-11 18:30:40 +0000 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2024-11-22 12:11:13 +0000 |
| commit | baf93ab433283bf836848035afa31690b30868a5 (patch) | |
| tree | 6f435a693093f155f8146d3627b59a4d79e298b1 /doc/examples | |
| parent | fa19a9ddbdddeaed44480ce7dade11d526336435 (diff) | |
Fix expired std::string usage in APT::StringView testcase
The anonymous std::string we were using here to create the view expires
after the construction of the view and so the gcc warning
| warning: ‘<anonymous>’ may be used uninitialized [-Wmaybe-uninitialized]
is correct in that the memory we are pointing to is potentially
overridden/reused already, if a bit roundabout in saying so.
Diffstat (limited to 'doc/examples')
0 files changed, 0 insertions, 0 deletions
