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:
@@ -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
|
||||
|
Reference in New Issue
Block a user