Skip to content
Unverified Commit 8687f8cf authored by Ali Abdel-Qader's avatar Ali Abdel-Qader Committed by Andreas Sturmlechner
Browse files

Use explicit constructor for QSslCertificate with value initialized argument

Previously the BluetoothDeviceLink::certificate() method was returning a
value initialized object which I believe default initializes the object.
However, Clang throws a build error at this because QSslCertificate has
explicit constructors. This change uses one of those constructors and
uses value intialization to default construct/initialize the argument
for it. It fixes the build and hopefully doesn't break anything since
this is a TODO anyways!

BUG: 469428



Signed-off-by: default avatarAli Abdel-Qader <abdelqaderali@protonmail.com>
(cherry picked from commit bbac0aa0)
parent 0b475472
Pipeline #414040 passed with stage
in 5 minutes and 5 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment