summaryrefslogtreecommitdiff
path: root/fastboot/udp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fastboot/udp.cpp')
-rw-r--r--fastboot/udp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/udp.cpp b/fastboot/udp.cpp
index b36bd605c..53fb3472f 100644
--- a/fastboot/udp.cpp
+++ b/fastboot/udp.cpp
@@ -111,7 +111,7 @@ class UdpTransport : public Transport {
int Close() override;
private:
- UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {}
+ explicit UdpTransport(std::unique_ptr<Socket> socket) : socket_(std::move(socket)) {}
// Performs the UDP initialization procedure. Returns true on success.
bool InitializeProtocol(std::string* error);