Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Const deserialize #148

Merged
merged 2 commits into from
Feb 21, 2020

Conversation

efernandez
Copy link
Collaborator

This makes the fuse_core::GraphDeserializer and fuse_core::TransactionDeserializer deserialize method const.

In the particular case of the fuse_core::GraphDeserializer I had to set the graph_loader_ mutable for the reason explain in the code with a TODO comment. I think this is better than not making the methods const, because otherwise any method from another class using this deserializer cannot be const.

@svwilliams svwilliams merged commit edf99d2 into locusrobotics:devel Feb 21, 2020
@efernandez efernandez deleted the const_deserialize branch March 11, 2020 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants