summaryrefslogtreecommitdiff
path: root/libs/binder/ServiceManagerHost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/binder/ServiceManagerHost.cpp')
-rw-r--r--libs/binder/ServiceManagerHost.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/binder/ServiceManagerHost.cpp b/libs/binder/ServiceManagerHost.cpp
index 2b67f030e0..7f43bb64a0 100644
--- a/libs/binder/ServiceManagerHost.cpp
+++ b/libs/binder/ServiceManagerHost.cpp
@@ -56,7 +56,8 @@ public:
[[nodiscard]] const std::optional<unsigned int>& hostPort() const { return mPort; }
private:
- DISALLOW_COPY_AND_ASSIGN(AdbForwarder);
+ AdbForwarder(const AdbForwarder&) = delete;
+ void operator=(const AdbForwarder&) = delete;
explicit AdbForwarder(unsigned int port) : mPort(port) {}
std::optional<unsigned int> mPort;
};