Skip to content

fix(graph): remove duplicate GraphFile namespace declaration - #799

Open
nimakalantar wants to merge 1 commit into
cactus-compute:mainfrom
nimakalantar:fix-build
Open

nimakalantar wants to merge 1 commit into
cactus-compute:mainfrom
nimakalantar:fix-build

Conversation

@nimakalantar

Copy link
Copy Markdown

MappedFileRegistry is already inside GraphFile, so the nested namespace caused its definitions to resolve incorrectly and broke the build.

Copilot AI lite review requested due to automatic review settings August 29, 2026 12:21
`MappedFileRegistry` is already inside `GraphFile`, so the nested namespace caused its definitions to resolve incorrectly and broke the build.

Signed-off-by: Nima Kalantar <nima.kalantar@focusrite.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a C++ namespace scoping error in cactus-graph where MappedFileRegistry was inadvertently placed under a duplicated GraphFile namespace (GraphFile::GraphFile::...), causing symbol resolution failures and breaking the build.

Changes:

  • Removed the redundant nested namespace GraphFile { ... } wrapper around the MappedFileRegistry definitions so they correctly remain in GraphFile.
  • Minor whitespace cleanup near an anonymous-namespace closing brace.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants