Skip to content

Commit 06b7aa4

Browse files
committed
fix: abseil compilation
1 parent 14c8dee commit 06b7aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datadog/platform_util.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ bool InMemoryFile::write_then_seal(const std::string& data) {
259259
F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE | F_SEAL_SEAL) == 0;
260260
}
261261

262-
Expected<InMemoryFile> InMemoryFile::make(std::string_view name) {
262+
Expected<InMemoryFile> InMemoryFile::make(StringView name) {
263263
int fd = memfd_create(name.data(), MFD_CLOEXEC | MFD_ALLOW_SEALING);
264264
if (fd == -1) {
265265
std::string err_msg = "failed to create an anonymous file. errno = ";

0 commit comments

Comments
 (0)