From 22330e955b4dd7517cd960fadf5850e855411fdc Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Fri, 1 Apr 2011 23:22:10 +0000 Subject: [PATCH] The CompoundEvent needs a zero-arg ctor, as its non-zero-arg ctor does lots of crazy stuff. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6580 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../java/com/threerings/presents/dobj/CompoundEvent.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/threerings/presents/dobj/CompoundEvent.java b/src/main/java/com/threerings/presents/dobj/CompoundEvent.java index e6c5c506a..b722f675b 100644 --- a/src/main/java/com/threerings/presents/dobj/CompoundEvent.java +++ b/src/main/java/com/threerings/presents/dobj/CompoundEvent.java @@ -53,6 +53,12 @@ public class CompoundEvent extends DEvent _events = StreamableArrayList.newList(); } + /** Used when unserializing. */ + public CompoundEvent () + { + super(0, Transport.DEFAULT); + } + /** * Posts an event to this transaction. The event will be delivered as part of the entire * transaction if it is committed or discarded if the transaction is cancelled.