Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions cactus-graph/src/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ namespace {
}
return node;
}


} // namespace

Expand Down Expand Up @@ -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<std::string, std::weak_ptr<MappedFile>> MappedFileRegistry::cache_;

Expand Down Expand Up @@ -931,8 +929,6 @@ void MappedFileRegistry::clear() {
cache_.clear();
}

} // namespace GraphFile

// MappedFile implementation

MappedFile::MappedFile(const std::string& filename)
Expand Down