Bring in google3-style DISALLOW_* macros.

I've been meaning to do this for a very long time...

Change-Id: Ia8c16eee7c026c3c9505399948485fb778fb0152
This commit is contained in:
Elliott Hughes
2014-05-09 19:12:08 -07:00
parent b2c3c803f0
commit 8eac9af24e
8 changed files with 56 additions and 27 deletions

View File

@@ -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