summaryrefslogtreecommitdiff
path: root/tools/aidl/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aidl/macros.h')
-rw-r--r--tools/aidl/macros.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/aidl/macros.h b/tools/aidl/macros.h
new file mode 100644
index 000000000000..67b8076404a4
--- /dev/null
+++ b/tools/aidl/macros.h
@@ -0,0 +1,8 @@
+#ifndef AIDL_MACROS_H_
+#define AIDL_MACROS_H_
+
+#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
+ TypeName(const TypeName&); \
+ void operator=(const TypeName&)
+
+#endif // AIDL_MACROS_H_