| Index: runtime/bin/eventhandler_linux.h
|
| diff --git a/runtime/bin/eventhandler_linux.h b/runtime/bin/eventhandler_linux.h
|
| index 099bef5cc4475cb83dbca222d8e3891c5a2fa23a..dd87c229478f9393a7de5b5457df31d0d7317ba6 100644
|
| --- a/runtime/bin/eventhandler_linux.h
|
| +++ b/runtime/bin/eventhandler_linux.h
|
| @@ -33,6 +33,9 @@ class DescriptorInfo : public DescriptorInfoBase {
|
| VOID_TEMP_FAILURE_RETRY(close(fd_));
|
| fd_ = -1;
|
| }
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DescriptorInfo);
|
| };
|
|
|
|
|
| @@ -42,6 +45,9 @@ class DescriptorInfoSingle
|
| explicit DescriptorInfoSingle(intptr_t fd)
|
| : DescriptorInfoSingleMixin(fd, false) {}
|
| virtual ~DescriptorInfoSingle() {}
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DescriptorInfoSingle);
|
| };
|
|
|
|
|
| @@ -51,6 +57,9 @@ class DescriptorInfoMultiple
|
| explicit DescriptorInfoMultiple(intptr_t fd)
|
| : DescriptorInfoMultipleMixin(fd, false) {}
|
| virtual ~DescriptorInfoMultiple() {}
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(DescriptorInfoMultiple);
|
| };
|
|
|
|
|
| @@ -84,6 +93,8 @@ class EventHandlerImplementation {
|
| int interrupt_fds_[2];
|
| int epoll_fd_;
|
| int timer_fd_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(EventHandlerImplementation);
|
| };
|
|
|
| } // namespace bin
|
|
|