summaryrefslogtreecommitdiff
path: root/libs/binder/UtilsHost.h
diff options
context:
space:
mode:
author Tomasz Wasilczyk <twasilczyk@google.com> 2023-11-02 15:07:45 -0700
committer Tomasz Wasilczyk <twasilczyk@google.com> 2023-11-03 09:40:33 -0700
commitdf07f945b946fd1f7039d225ecd3de51a901ace7 (patch)
tree1f37c190b6cd567549cfd14f3efca5eeb18c19a7 /libs/binder/UtilsHost.h
parentd429f318b42341f27d035072193c2d5da0826e93 (diff)
Binder: migrate off libbase macros
Test: mma Bug: 302723053 Change-Id: Ie7c13c324311f600d72bc8ecc4157ad6c46259a0
Diffstat (limited to 'libs/binder/UtilsHost.h')
-rw-r--r--libs/binder/UtilsHost.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/binder/UtilsHost.h b/libs/binder/UtilsHost.h
index 98ac4e0c48..14a8dcba57 100644
--- a/libs/binder/UtilsHost.h
+++ b/libs/binder/UtilsHost.h
@@ -22,7 +22,6 @@
#include <variant>
#include <vector>
-#include <android-base/macros.h>
#include <android-base/result.h>
#include <android-base/unique_fd.h>
@@ -67,7 +66,8 @@ struct CommandResult {
}
private:
- DISALLOW_COPY_AND_ASSIGN(CommandResult);
+ CommandResult(const CommandResult&) = delete;
+ void operator=(const CommandResult&) = delete;
};
std::ostream& operator<<(std::ostream& os, const CommandResult& res);