summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/changeSet.h
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/service/changeSet.h')
-rw-r--r--gentoobrowse-api/service/changeSet.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/gentoobrowse-api/service/changeSet.h b/gentoobrowse-api/service/changeSet.h
index ab83656..c8508dd 100644
--- a/gentoobrowse-api/service/changeSet.h
+++ b/gentoobrowse-api/service/changeSet.h
@@ -6,14 +6,12 @@
#include <map>
#include <portage-models.h>
-namespace Gentoo {
- namespace Service {
- struct ChangeDetails {
- StringList pathParts;
- git_delta_t changeType;
- };
- typedef std::map<std::filesystem::path, ChangeDetails> ChangeSet;
- }
+namespace Gentoo::Service {
+ struct ChangeDetails {
+ StringList pathParts;
+ git_delta_t changeType {};
+ };
+ using ChangeSet = std::map<std::filesystem::path, ChangeDetails, std::less<>>;
}
#endif