diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2022-04-26 12:23:56 +0200 |
---|---|---|
committer | Alberto Sartori <alberto.sartori@huawei.com> | 2022-04-26 13:44:00 +0200 |
commit | 233a5c2dd1bf7275a6c0217b25073acdaee39a63 (patch) | |
tree | 38fdbe8e5f6bc6f425781eeb6b8c12264bbee55e /rules/patch | |
parent | 4b5dfcecac43e14e57f76993f2431bae5f1866f3 (diff) | |
download | justbuild-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