summaryrefslogtreecommitdiff
path: root/rules/patch
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-04-26 12:23:56 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2022-04-26 13:44:00 +0200
commit233a5c2dd1bf7275a6c0217b25073acdaee39a63 (patch)
tree38fdbe8e5f6bc6f425781eeb6b8c12264bbee55e /rules/patch
parent4b5dfcecac43e14e57f76993f2431bae5f1866f3 (diff)
downloadjustbuild-233a5c2dd1bf7275a6c0217b25073acdaee39a63.tar.gz
bug fix: FileRoot::DirectoryEntries cannot hold std::monostate anymore
DirectoryEntries must be constructed explicitly either via a GitTree* or an unordered_map<string,ObjectType>. So, the case of an empty directory, is represented by an empty map. Before this patch, empty directories were represented by std::monostate and missing checks on that led to a seg-fault.
Diffstat (limited to 'rules/patch')
0 files changed, 0 insertions, 0 deletions