summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/modbus/client/CMakeLists.txt
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2021-07-21 20:07:30 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-23 08:27:37 +0000
commit84dd0c9dc17ec0a10b6746f641f7677ba3b3d11f (patch)
tree16ab2cfc718769422943e526902a56a2c2c79fb9 /examples/serialbus/modbus/client/CMakeLists.txt
parent9fcf3ea8c62eda1ba4b7c17da1a640756c89c56a (diff)
QCanBusDevice: Consolidate createDeviceInfo()
This protected function is used from the CAN plugins to create QCanBusDeviceInfo objects. We want to add another parameter (plugin) to the function in a follow-up commit, so let's first remove unneeded overloads that were created during Qt 5 times and only keep the very simple and the all-embracing one. While at it, remove the std::move calls as clang gives performance warnings here: socketcanbackend.cpp:149:23: error: moving a temporary object prevents copy elision socketcanbackend.cpp:149:23: note: remove std::move call here Change-Id: Ie83db3cd3a9d6b40b2da4a9ce736861a0ee8359f Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 98691947d1aa6fb3ab63c7b749bc6407fa01be8a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/serialbus/modbus/client/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions