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

Fix kstream constructor which uses std::string for initialization #43

Merged
merged 1 commit into from Jun 14, 2021
Merged

Fix kstream constructor which uses std::string for initialization #43

merged 1 commit into from Jun 14, 2021

Conversation

N-Nagorny
Copy link
Contributor

@N-Nagorny N-Nagorny commented Jun 14, 2021

https://en.cppreference.com/w/cpp/io/basic_istringstream/basic_istringstream (3) takes const std::string& so it looks appropriate to take the same in kaitai::kstream constructor working with std::string.

Resolves kaitai-io/kaitai_struct#806

Copy link
Member

@generalmimon generalmimon left a comment

Choose a reason for hiding this comment

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

Thanks!

@generalmimon generalmimon merged commit 71c9929 into kaitai-io:master Jun 14, 2021
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.

Add const to kstream constructor parameter definition?
2 participants