Remove reference to DISALLOW_COPY_AND_ASSIGN
Test: local build
Change-Id: I6bd7b892ff03a39cad048ba474f780942399b3ba
diff --git a/guest/libs/legacy_framebuffer/vsoc_framebuffer.h b/guest/libs/legacy_framebuffer/vsoc_framebuffer.h
index c5134e4..873c2fc 100644
--- a/guest/libs/legacy_framebuffer/vsoc_framebuffer.h
+++ b/guest/libs/legacy_framebuffer/vsoc_framebuffer.h
@@ -35,6 +35,8 @@
class VSoCFrameBuffer {
public:
static const VSoCFrameBuffer& getInstance();
+ VSoCFrameBuffer(const VSoCFrameBuffer&) = delete;
+ VSoCFrameBuffer& operator=(const VSoCFrameBuffer&) = delete;
static int align(int input, int alignment = kAlignment) {
return (input + alignment - 1) & -alignment;
@@ -103,7 +105,6 @@
static const int kBitsPerPixel = sizeof(Pixel) * CHAR_BIT;
// Length of a scan-line in bytes.
int line_length_;
- DISALLOW_COPY_AND_ASSIGN(VSoCFrameBuffer);
};
const char* pixel_format_to_string(int format);