summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMate Barany <[email protected]>2024-06-18 18:10:44 +0200
committerMarc Mutz <[email protected]>2024-06-21 01:09:45 +0200
commited1774584d0231fadda0e9197d92ddcdb6bf2ea3 (patch)
treed46999547999fbc438ad866ec3a2dff3aed26723
parentab05e05f60253b9be615c09aa340ee75f2e5bcaf (diff)
QFormDataBuilder: make default constructor implicit
Default constructors should be implicit. No Q_IMPLICIT needed. Found in API review. Pick-to: 6.8 Change-Id: Id0ca95102330a345b58bdf5641cf07bae0a8c6b3 Reviewed-by: Marc Mutz <[email protected]> Reviewed-by: Juha Vuolle <[email protected]> Reviewed-by: Mate Barany <[email protected]>
-rw-r--r--src/network/access/qformdatabuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/access/qformdatabuilder.h b/src/network/access/qformdatabuilder.h
index 16274734be3..8c08214c398 100644
--- a/src/network/access/qformdatabuilder.h
+++ b/src/network/access/qformdatabuilder.h
@@ -93,7 +93,7 @@ private:
class QFormDataBuilder
{
public:
- Q_NETWORK_EXPORT explicit QFormDataBuilder();
+ Q_NETWORK_EXPORT QFormDataBuilder();
QFormDataBuilder(QFormDataBuilder &&other) noexcept : d_ptr(std::exchange(other.d_ptr, nullptr)) {}