Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions types/unordered_multiset/nested/NestedUnorderedMultiset.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ struct std::hash<std::unordered_multiset<std::int32_t>> {
return h;
}
};

using UnorderedMultiset =
std::unordered_multiset<std::unordered_multiset<std::int32_t>>;
3 changes: 1 addition & 2 deletions types/unordered_multiset/nested/read.C
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#include <string_view>
#include <unordered_set>

using UnorderedMultiset =
std::unordered_multiset<std::unordered_multiset<std::int32_t>>;
#include "NestedUnorderedMultiset.hxx"

static void PrintNestedUnorderedMultisetValue(const ROOT::REntry &entry,
std::string_view name,
Expand Down
3 changes: 0 additions & 3 deletions types/unordered_multiset/nested/write.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

#include "NestedUnorderedMultiset.hxx"

using UnorderedMultiset =
std::unordered_multiset<std::unordered_multiset<std::int32_t>>;

static std::shared_ptr<UnorderedMultiset>
MakeUnorderedMultisetField(ROOT::RNTupleModel &model, std::string_view name,
ROOT::ENTupleColumnType indexType) {
Expand Down
2 changes: 2 additions & 0 deletions types/unordered_set/nested/NestedUnorderedSet.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ template <> struct std::hash<std::unordered_set<std::int32_t>> {
return h;
}
};

using UnorderedSet = std::unordered_set<std::unordered_set<std::int32_t>>;
2 changes: 1 addition & 1 deletion types/unordered_set/nested/read.C
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <string_view>
#include <unordered_set>

using UnorderedSet = std::unordered_set<std::unordered_set<std::int32_t>>;
#include "NestedUnorderedSet.hxx"

static void PrintNestedUnorderedSetValue(const ROOT::REntry &entry,
std::string_view name,
Expand Down
2 changes: 0 additions & 2 deletions types/unordered_set/nested/write.C
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@

#include "NestedUnorderedSet.hxx"

using UnorderedSet = std::unordered_set<std::unordered_set<std::int32_t>>;

static std::shared_ptr<UnorderedSet>
MakeUnorderedSetField(ROOT::RNTupleModel &model, std::string_view name,
ROOT::ENTupleColumnType indexType) {
Expand Down