From 0a4a408e8d6f1b9c065e92f0ccd34f4a34b38e3e Mon Sep 17 00:00:00 2001 From: nickci2002 Date: Wed, 18 Jun 2025 11:50:37 -0400 Subject: [PATCH] Potential MacOS error fix Changes std::string to std::string_view, which prevented MacOS from building --- src/core/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/memory.h b/src/core/memory.h index 6a9b29382..eebd36a31 100644 --- a/src/core/memory.h +++ b/src/core/memory.h @@ -92,7 +92,7 @@ struct VirtualMemoryArea { VMAType type = VMAType::Free; MemoryProt prot = MemoryProt::NoAccess; bool disallow_merge = false; - std::string name = ""; + std::string_view name = ""; uintptr_t fd = 0; bool is_exec = false;