diff options
author | Elliott Hughes <enh@google.com> | 2014-05-09 19:12:08 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-05-09 19:12:08 -0700 |
commit | 8eac9af24ea7e570e0b297bcd6ac8a46ba3ecc39 (patch) | |
tree | d69e6b95bccca6e095b5e320198c552c9ee0e398 /libc/private/KernelArgumentBlock.h | |
parent | b2c3c803f0f4a50acfdc31eb28bd83b48a0026fe (diff) | |
download | android_bionic-8eac9af24ea7e570e0b297bcd6ac8a46ba3ecc39.tar.gz android_bionic-8eac9af24ea7e570e0b297bcd6ac8a46ba3ecc39.tar.bz2 android_bionic-8eac9af24ea7e570e0b297bcd6ac8a46ba3ecc39.zip |
Bring in google3-style DISALLOW_* macros.
I've been meaning to do this for a very long time...
Change-Id: Ia8c16eee7c026c3c9505399948485fb778fb0152
Diffstat (limited to 'libc/private/KernelArgumentBlock.h')
-rw-r--r-- | libc/private/KernelArgumentBlock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/private/KernelArgumentBlock.h b/libc/private/KernelArgumentBlock.h index 4af52ab67..c8ea4977a 100644 --- a/libc/private/KernelArgumentBlock.h +++ b/libc/private/KernelArgumentBlock.h @@ -22,6 +22,8 @@ #include <stdint.h> #include <sys/auxv.h> +#include "private/bionic_macros.h" + struct abort_msg_t; // When the kernel starts the dynamic linker, it passes a pointer to a block @@ -73,9 +75,7 @@ class KernelArgumentBlock { abort_msg_t** abort_message_ptr; private: - // Disallow copy and assignment. - KernelArgumentBlock(const KernelArgumentBlock&); - void operator=(const KernelArgumentBlock&); + DISALLOW_COPY_AND_ASSIGN(KernelArgumentBlock); }; #endif // KERNEL_ARGUMENT_BLOCK_H |