summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/PrivateStorage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/PrivateStorage.h b/Swiften/Elements/PrivateStorage.h
index 66259a3..93f1cfe 100644
--- a/Swiften/Elements/PrivateStorage.h
+++ b/Swiften/Elements/PrivateStorage.h
@@ -7,7 +7,7 @@
namespace Swift {
class PrivateStorage : public Payload {
public:
- PrivateStorage() {
+ PrivateStorage(boost::shared_ptr<Payload> payload = boost::shared_ptr<Payload>()) : payload(payload) {
}
boost::shared_ptr<Payload> getPayload() const {