We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14c8dee commit 06b7aa4Copy full SHA for 06b7aa4
src/datadog/platform_util.cpp
@@ -259,7 +259,7 @@ bool InMemoryFile::write_then_seal(const std::string& data) {
259
F_SEAL_SHRINK | F_SEAL_GROW | F_SEAL_WRITE | F_SEAL_SEAL) == 0;
260
}
261
262
-Expected<InMemoryFile> InMemoryFile::make(std::string_view name) {
+Expected<InMemoryFile> InMemoryFile::make(StringView name) {
263
int fd = memfd_create(name.data(), MFD_CLOEXEC | MFD_ALLOW_SEALING);
264
if (fd == -1) {
265
std::string err_msg = "failed to create an anonymous file. errno = ";
0 commit comments