mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Storage::GetEntryInfo: Actually filter on types.
This commit is contained in:
@@ -113,6 +113,7 @@ std::vector<EntryInfo> Storage::GetEntryInfo(StringRef prefix,
|
||||
auto entry = i.getValue();
|
||||
auto value = entry->value();
|
||||
if (!value) continue;
|
||||
if (types != 0 && (types & value->type()) == 0) continue;
|
||||
EntryInfo info;
|
||||
info.name = i.getKey();
|
||||
info.type = value->type();
|
||||
|
||||
Reference in New Issue
Block a user