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, 5 insertions, 3 deletions
diff --git a/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h b/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h
index 99ab0857d3..004d87574a 100644
--- a/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h
+++ b/libs/gui/include/gui/bufferqueue/1.0/WGraphicBufferProducer.h
@@ -51,12 +51,14 @@ typedef ::android::IGraphicBufferProducer BGraphicBufferProducer;
typedef ::android::IProducerListener BProducerListener;
#ifndef LOG
-struct LOG_dummy {
+struct LOG_stub {
template <typename T>
- LOG_dummy& operator<< (const T&) { return *this; }
+ LOG_stub& operator<<(const T&) {
+ return *this;
+ }
};
-#define LOG(x) LOG_dummy()
+#define LOG(x) LOG_stub()
#endif
// Instantiate only if HGraphicBufferProducer is base of BASE.