diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-06 09:14:03 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-05-06 09:18:19 +0200 |
commit | aaa4ed77a2506144f470ce2b7fb269bedd17a2b3 (patch) | |
tree | 2536c83f06ae58743e48a39e498ad2712e597c4d /tracker-hatire/thread.cpp | |
parent | e19893b91326e53868136bbf0f2cf6835344cc7c (diff) |
tracker/hatire: simplify
We don't need to move back the datagram since we're processing the
original.
Diffstat (limited to 'tracker-hatire/thread.cpp')
-rwxr-xr-x | tracker-hatire/thread.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp index a33d58e0..40648c9f 100755 --- a/tracker-hatire/thread.cpp +++ b/tracker-hatire/thread.cpp @@ -276,11 +276,6 @@ void hatire_thread::on_serial_read() portable::sleep(ms); } -void hatire_thread::replace_data_nolock(QByteArray&& data) -{ - data_read = std::move(data); -} - QByteArray& hatire_thread::send_data_read_nolock(bool& ret) { constexpr int packet_len = 30; |