workaround compiler issues

This commit is contained in:
Klaim (Joël Lamotte) 2025-07-01 11:09:00 +02:00
parent 880cc8ffe7
commit c5d690b723
1 changed files with 5 additions and 0 deletions

View File

@ -1171,6 +1171,11 @@ namespace mamba
struct Data
{
Data()
{
// this user-defined constructor is a workaround for CWG2335 and related compiler issues
}
// TODO: replace by something like boost::multiindex or equivalent to avoid having
// to handle 2 hashmaps
std::unordered_map<fs::u8path, std::weak_ptr<LockFileOwner>> locked_files; // TODO: