diff options
author | 2023-11-02 15:07:45 -0700 | |
---|---|---|
committer | 2023-11-03 09:40:33 -0700 | |
commit | df07f945b946fd1f7039d225ecd3de51a901ace7 (patch) | |
tree | 1f37c190b6cd567549cfd14f3efca5eeb18c19a7 /libs/binder/ServiceManagerHost.cpp | |
parent | d429f318b42341f27d035072193c2d5da0826e93 (diff) |
Binder: migrate off libbase macros
Test: mma
Bug: 302723053
Change-Id: Ie7c13c324311f600d72bc8ecc4157ad6c46259a0
Diffstat (limited to 'libs/binder/ServiceManagerHost.cpp')
-rw-r--r-- | libs/binder/ServiceManagerHost.cpp | 3 |
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; }; |