summaryrefslogtreecommitdiffstats
path: root/src/serialbus/qcanbusdeviceinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialbus/qcanbusdeviceinfo.cpp')
-rw-r--r--src/serialbus/qcanbusdeviceinfo.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/serialbus/qcanbusdeviceinfo.cpp b/src/serialbus/qcanbusdeviceinfo.cpp
index 418e4f0..42f3d39 100644
--- a/src/serialbus/qcanbusdeviceinfo.cpp
+++ b/src/serialbus/qcanbusdeviceinfo.cpp
@@ -84,14 +84,12 @@ QCanBusDeviceInfo::~QCanBusDeviceInfo()
}
/*!
+ \fn void QCanBusDeviceInfo::swap(const QCanBusDeviceInfo &other)
Swap this instance's shared data pointer with the shared data pointer in
\a other.
\internal
*/
-void QCanBusDeviceInfo::swap(QCanBusDeviceInfo other)
-{
- d_ptr.swap(other.d_ptr);
-}
+
/*!
Sets the QCanBusDeviceInfo object to be equal to \a other.