summaryrefslogtreecommitdiff
path: root/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h')
-rw-r--r--libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h b/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h
index 004d87574a..99ab0857d3 100644
--- a/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h
+++ b/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h
@@ -51,14 +51,12 @@ typedef ::android::IGraphicBufferProducer BGraphicBufferProducer;
typedef ::android::IProducerListener BProducerListener;
#ifndef LOG
-struct LOG_stub {
+struct LOG_dummy {
template <typename T>
- LOG_stub& operator<<(const T&) {
- return *this;
- }
+ LOG_dummy& operator<< (const T&) { return *this; }
};
-#define LOG(x) LOG_stub()
+#define LOG(x) LOG_dummy()
#endif
// Instantiate only if HGraphicBufferProducer is base of BASE.