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

Update example.cpp to fix the vector issue in bin_example #2963

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

zhuzhzh
Copy link
Contributor

@zhuzhzh zhuzhzh commented Dec 22, 2023

with std::vector buf(80), 80 elements are put in the vector, which is not the expected behavior.

with std::vector<char> buf(80),  80 elements are put in the vector, which is not the expected behavior.
@gabime gabime merged commit ba50805 into gabime:v1.x Dec 22, 2023
8 checks passed
@gabime
Copy link
Owner

gabime commented Dec 22, 2023

Thanks @zhuzhzh

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