diff options
| author | Simon Johnsson <simon.johnsson@canonical.com> | 2026-02-19 12:15:20 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2026-04-07 09:39:14 +0000 |
| commit | 58821c2dfc9fefb09d6ff6655e435bacdfabe173 (patch) | |
| tree | 2eba28e277f4ad7ab56f8d015decd09d0712fb2f | |
| parent | ad4800b814f1abbe561a962305e6d4c03401a73d (diff) | |
Change GetKindString to not use .data() call
| -rw-r--r-- | apt-private/private-history.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-history.cc b/apt-private/private-history.cc index a2f7e4c02..0d3988662 100644 --- a/apt-private/private-history.cc +++ b/apt-private/private-history.cc @@ -157,7 +157,7 @@ static std::string GetKindString(const Entry &entry) { // We want full output if there is only one action if (entry.changeMap.size() == 1) - return LocalizeKindToString(entry.changeMap.begin()->first).data(); + return LocalizeKindToString(entry.changeMap.begin()->first); std::string kindGroup = ""; // add localization later |
