Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Remove const from input nodes. #450

Merged
merged 1 commit into from
May 3, 2023
Merged

Conversation

ienkovich
Copy link
Contributor

I found it really inconvenient to have const qualifier for Node inputs. Thus, having a root node we cannot walk and transform the DAG and have to use non-const pointers list stored in the DAG (which cannot even be rebuilt through the DAG walk from the root). I don't see why we should have this const qualifier, Node objects are not immutable.

Copy link
Contributor

@alexbaden alexbaden left a comment

Choose a reason for hiding this comment

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

I don't see a need for const either.

@ienkovich ienkovich merged commit 32ea192 into main May 3, 2023
@ienkovich ienkovich deleted the ienkovich/non-const-node-input branch May 3, 2023 01:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants