diff options
| author | Remko Tronçon <git@el-tramo.be> | 2011-01-18 20:10:44 (GMT) |
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2011-01-18 20:27:37 (GMT) |
| commit | 0d3d7579032959203c5c52f5ced9de5494c7b0bf (patch) | |
| tree | 1e166cbae3dac23e8f815bc32f856b6c0a666fbd /Swiften/EventLoop/Event.h | |
| parent | c2580661a20e30abaa23c61808d6370a575665c1 (diff) | |
| download | swift-0d3d7579032959203c5c52f5ced9de5494c7b0bf.zip swift-0d3d7579032959203c5c52f5ced9de5494c7b0bf.tar.bz2 | |
Cleaned up some code.
Diffstat (limited to 'Swiften/EventLoop/Event.h')
| -rw-r--r-- | Swiften/EventLoop/Event.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Swiften/EventLoop/Event.h b/Swiften/EventLoop/Event.h index 763fe00..6f5a9e5 100644 --- a/Swiften/EventLoop/Event.h +++ b/Swiften/EventLoop/Event.h @@ -14,8 +14,7 @@ namespace Swift { class Event { public: - Event(boost::shared_ptr<EventOwner> owner, const boost::function<void()>& callback) : - owner(owner), callback(callback) { + Event(boost::shared_ptr<EventOwner> owner, const boost::function<void()>& callback) : id(~0U), owner(owner), callback(callback) { } bool operator==(const Event& o) const { |
Swift