From fcbd1bfe4e61d493302be64802996e32f971662d Mon Sep 17 00:00:00 2001 From: Nima Kalantar Date: Sat, 29 Aug 2026 13:22:43 +0100 Subject: [PATCH] fix(graph): remove duplicate `GraphFile` namespace declaration `MappedFileRegistry` is already inside `GraphFile`, so the nested namespace caused its definitions to resolve incorrectly and broke the build. Signed-off-by: Nima Kalantar --- cactus-graph/src/io.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cactus-graph/src/io.cpp b/cactus-graph/src/io.cpp index 664ab2677..bdda65bf2 100644 --- a/cactus-graph/src/io.cpp +++ b/cactus-graph/src/io.cpp @@ -319,7 +319,7 @@ namespace { } return node; } - + } // namespace @@ -896,8 +896,6 @@ void save_node(CactusGraph& graph, size_t node_id, const std::string& filename) // MappedFileRegistry implementation -namespace GraphFile { - std::mutex MappedFileRegistry::mutex_; std::unordered_map> MappedFileRegistry::cache_; @@ -931,8 +929,6 @@ void MappedFileRegistry::clear() { cache_.clear(); } -} // namespace GraphFile - // MappedFile implementation MappedFile::MappedFile(const std::string& filename)