summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothuuid.h
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2021-07-23 09:37:06 +0200
committerAndreas Buhr <andreas.buhr@qt.io>2021-07-23 13:03:35 +0200
commitcef4a5e9d55940140f27d98931b2a6778d154209 (patch)
tree9114dee54e652f44e38d7967147b634fce928938 /src/bluetooth/qbluetoothuuid.h
parent402ac34f30358a94e1d6dfbfa8e7a8fbec919842 (diff)
Rename streamingoperator to adhere to camelCase
operator<< was changed to be a hidden friend in QtBluetooth. Two properties of operator<< were desired: First, it should be a hidden friend. This implies that it is defined inline. Second, its implementation should not part of the public interface. To achieve both, an indirection and the static method streamingoperator() were introduced. This patch changes its name to streamingOperator() to adhere to Qt's camelCase coding style. Pick-to: 6.2 Change-Id: I4e01a81eac8261c5198cdb832c1345efbf647419 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothuuid.h')
-rw-r--r--src/bluetooth/qbluetoothuuid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothuuid.h b/src/bluetooth/qbluetoothuuid.h
index af98c71b..46504eda 100644
--- a/src/bluetooth/qbluetoothuuid.h
+++ b/src/bluetooth/qbluetoothuuid.h
@@ -396,9 +396,9 @@ public:
#ifndef QT_NO_DEBUG_STREAM
friend QDebug operator<<(QDebug debug, const QBluetoothUuid &uuid)
{
- return streamingoperator(debug, uuid);
+ return streamingOperator(debug, uuid);
}
- static QDebug streamingoperator(QDebug debug, const QBluetoothUuid &uuid);
+ static QDebug streamingOperator(QDebug debug, const QBluetoothUuid &uuid);
#endif
int minimumSize() const;