forked from lix-project/lix
Work around clang destructing + capturing bug again
This commit is contained in:
parent
d8d7f50f62
commit
00c607b563
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ static std::pair<ContentAddressMethod, HashType> parseContentAddressMethodPrefix
|
|||
ContentAddress parseContentAddress(std::string_view rawCa) {
|
||||
auto rest = rawCa;
|
||||
|
||||
auto [caMethod, hashType] = parseContentAddressMethodPrefix(rest);
|
||||
auto [caMethod, hashType_] = parseContentAddressMethodPrefix(rest);
|
||||
auto hashType = hashType_; // work around clang bug
|
||||
|
||||
return std::visit(overloaded {
|
||||
[&](TextHashMethod _) {
|
||||
|
|
Loading…
Reference in a new issue