mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
...remove deprecated SetWallTimeLimit variant.
PiperOrigin-RevId: 531477563 Change-Id: I84ca9823ae5f7a0002049ac69b42527872a7ce66
This commit is contained in:
parent
b6cc0ce80d
commit
70e3d9f560
@ -107,11 +107,6 @@ class Sandbox {
|
|||||||
const sandbox2::Result& result() const { return result_; }
|
const sandbox2::Result& result() const { return result_; }
|
||||||
|
|
||||||
absl::Status SetWallTimeLimit(absl::Duration limit) const;
|
absl::Status SetWallTimeLimit(absl::Duration limit) const;
|
||||||
ABSL_DEPRECATED(
|
|
||||||
"Use sapi::Sandbox::SetWallTimeLimit(absl::Duration) overload instead")
|
|
||||||
absl::Status SetWallTimeLimit(time_t limit) const {
|
|
||||||
return this->SetWallTimeLimit(absl::Seconds(limit));
|
|
||||||
}
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user