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

std::vector has no member named ‘_Ptr' #5

Open
brenkem opened this issue Aug 9, 2021 · 2 comments
Open

std::vector has no member named ‘_Ptr' #5

brenkem opened this issue Aug 9, 2021 · 2 comments

Comments

@brenkem
Copy link

brenkem commented Aug 9, 2021

See topic: https://stackoverflow.com/questions/43684906/cant-access-std-vector-iterator-ptr-on-mac

"As a rule of thumb, don't use names that start with one or two underscores."

@brenkem
Copy link
Author

brenkem commented Aug 9, 2021

@brenkem
Copy link
Author

brenkem commented Aug 9, 2021

QtGUI/XCPWorkerThread.cpp:
s->write((const char*)bytes.begin()._Ptr, bytes.size()); >>> s->write((const char*)bytes.begin().data(), bytes.size());

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

No branches or pull requests

1 participant