Skip to content
Snippets Groups Projects
Commit c5f27d15 authored by bodzsoaa's avatar bodzsoaa
Browse files

Fix copying

parent 0af2e779
No related branches found
No related tags found
No related merge requests found
#include "muebreceiver.h"
#include <cstring>
#include "muebreceiver_p.h"
MuebReceiver::MuebReceiver(QObject *parent)
......@@ -57,11 +59,7 @@ void MuebReceiver::ReadPendingDatagrams() {
}
// No compression
} else {
// FIXME use better copy method
for (auto i : data) {
*frame_begin = i;
frame_begin++;
}
std::memcpy(frame_begin, data.constData(), data.size());
}
emit(FrameChanged(d->frame));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment