summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-private/private-history.cc2
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