summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2024-09-11 18:30:40 +0000
committerDavid Kalnischkies <david@kalnischkies.de>2024-11-22 12:11:13 +0000
commitbaf93ab433283bf836848035afa31690b30868a5 (patch)
tree6f435a693093f155f8146d3627b59a4d79e298b1 /doc/examples
parentfa19a9ddbdddeaed44480ce7dade11d526336435 (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