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/Elements | |
parent | c2580661a20e30abaa23c61808d6370a575665c1 (diff) | |
download | swift-0d3d7579032959203c5c52f5ced9de5494c7b0bf.zip swift-0d3d7579032959203c5c52f5ced9de5494c7b0bf.tar.bz2 |
Cleaned up some code.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/FormField.h | 2 | ||||
-rw-r--r-- | Swiften/Elements/MUCUserPayload.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Elements/FormField.h b/Swiften/Elements/FormField.h index a0240e1..0221dae 100644 --- a/Swiften/Elements/FormField.h +++ b/Swiften/Elements/FormField.h @@ -79,7 +79,7 @@ namespace Swift { } protected: - GenericFormField() {} + GenericFormField() : value() {} GenericFormField(const T& value) : value(value) {} private: diff --git a/Swiften/Elements/MUCUserPayload.h b/Swiften/Elements/MUCUserPayload.h index 2014bc4..2364b6c 100644 --- a/Swiften/Elements/MUCUserPayload.h +++ b/Swiften/Elements/MUCUserPayload.h @@ -28,7 +28,7 @@ namespace Swift { }; struct StatusCode { - StatusCode() {} + StatusCode() : code(0) {} int code; }; |