Signed-off-by: Vincenzo Petrolo <vincenzo@kernel-space.org>
This commit is contained in:
Vincenzo Petrolo 2021-03-22 13:08:58 +01:00
parent df840ae38f
commit 34dcd72d7d
No known key found for this signature in database
GPG Key ID: 9D48955FE2C26971

View File

@ -407,7 +407,7 @@ class PolicyBuilder final {
// Builds the policy returning a unique_ptr to it. This should only be called // Builds the policy returning a unique_ptr to it. This should only be called
// once. // once.
// This function will abort if an error happened in any off the PolicyBuilder // This function will abort if an error happened in any of the PolicyBuilder
// methods. // methods.
std::unique_ptr<Policy> BuildOrDie() { return TryBuild().value(); } std::unique_ptr<Policy> BuildOrDie() { return TryBuild().value(); }