mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Use absl::string_view
consistently
PiperOrigin-RevId: 600363060 Change-Id: I14e4b78c90d1f66e6b429436b09fad9dcd0f2cfc
This commit is contained in:
parent
25cfb5ef03
commit
fa5360351b
|
@ -78,7 +78,7 @@ class SyscallTable {
|
||||||
|
|
||||||
absl::StatusOr<Entry> GetEntry(int syscall) const;
|
absl::StatusOr<Entry> GetEntry(int syscall) const;
|
||||||
// Returns the first entry matching the provided name.
|
// Returns the first entry matching the provided name.
|
||||||
absl::StatusOr<Entry> GetEntry(std::string_view name) const;
|
absl::StatusOr<Entry> GetEntry(absl::string_view name) const;
|
||||||
|
|
||||||
absl::Span<const Entry> GetEntries() const { return data_; }
|
absl::Span<const Entry> GetEntries() const { return data_; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user