aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWiktor Garbacz <wiktorg@google.com>2024-01-21 23:42:05 -0800
committerCopybara-Service <copybara-worker@google.com>2024-01-21 23:42:32 -0800
commitfa5360351b8ba7abffd20d3ff9fc5e2415bc768f (patch)
tree2eefc55bdb702131b34091c4fd48c66ca31553e7
parent25cfb5ef0311ec3756798820980305a8f6d93c0a (diff)
downloadsandboxed-api-fa5360351b8ba7abffd20d3ff9fc5e2415bc768f.tar.gz
Use `absl::string_view` consistently
PiperOrigin-RevId: 600363060 Change-Id: I14e4b78c90d1f66e6b429436b09fad9dcd0f2cfc
-rw-r--r--sandboxed_api/sandbox2/syscall_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandboxed_api/sandbox2/syscall_defs.h b/sandboxed_api/sandbox2/syscall_defs.h
index d3ff653..1fbf3dc 100644
--- a/sandboxed_api/sandbox2/syscall_defs.h
+++ b/sandboxed_api/sandbox2/syscall_defs.h
@@ -78,7 +78,7 @@ class SyscallTable {
absl::StatusOr<Entry> GetEntry(int syscall) const;
// 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_; }