summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/MessageQueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaceflinger/MessageQueue.h')
-rw-r--r--libs/surfaceflinger/MessageQueue.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/surfaceflinger/MessageQueue.h b/libs/surfaceflinger/MessageQueue.h
index d894fe28d43b..c118897dd699 100644
--- a/libs/surfaceflinger/MessageQueue.h
+++ b/libs/surfaceflinger/MessageQueue.h
@@ -148,8 +148,9 @@ public:
uint32_t what;
int32_t arg0;
- MessageBase(uint32_t what=0, int32_t arg0=0)
- : when(0), what(what), arg0(arg0) { }
+ MessageBase() : when(0), what(0), arg0(0) { }
+ MessageBase(uint32_t what, int32_t arg0=0)
+ : when(0), what(what), arg0(arg0) { }
// return true if message has a handler
virtual bool handler() { return false; }