XCP
XCP copied to clipboard
std::vector has no member named ‘_Ptr'
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."
Solution: see here https://stackoverflow.com/questions/6485496/how-to-get-stdvector-pointer-to-the-raw-data
QtGUI/XCPWorkerThread.cpp:
s->write((const char*)bytes.begin()._Ptr, bytes.size());
>>> s->write((const char*)bytes.begin().data(), bytes.size());