fix: move unique_ptr<T> to be converted to llvm::Expected

gcc 6.3 was complaining about not being able to wrap it in an
llvm::Expected
This commit is contained in:
youben11
2021-12-08 10:46:59 +01:00
committed by Quentin Bourgerie
parent 74d52cb649
commit 0a7ac76b10
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ KeySet::generate(ClientParameters &params, uint64_t seed_msb,
<< "Cannot setup encryption material: " << std::move(fillError);
}
return a;
return std::move(a);
}
std::unique_ptr<KeySet> KeySet::uninitialized() {