mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Merge pull request #84 from Vincenzo-Petrolo:main
PiperOrigin-RevId: 424301145 Change-Id: I0336c5ffc2eeefe0ccecb7595b0881df23390bf6
This commit is contained in:
commit
cc6a1114d5
|
@ -451,7 +451,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(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user