From cb9f7ecff59034e9678b1aca22b608b6e2522e1a Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Fri, 13 Mar 2015 13:25:14 +0100
Subject: Fix duplicate addition of CarbonsPrivateSerializer to
 FullPayloadSerializerCollection

Test-Information:

Builds and unit tests run through.

Change-Id: I0dac62cdef56ec4780388f25d24ca0818b900dad

diff --git a/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.cpp b/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.cpp
index 5082cc3..c84ee04 100644
--- a/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.cpp
+++ b/Swiften/Serializer/PayloadSerializers/FullPayloadSerializerCollection.cpp
@@ -159,7 +159,6 @@ FullPayloadSerializerCollection::FullPayloadSerializerCollection() {
 	serializers_.push_back(new CarbonsDisableSerializer());
 	serializers_.push_back(new CarbonsEnableSerializer());
 	serializers_.push_back(new CarbonsPrivateSerializer());
-	serializers_.push_back(new CarbonsPrivateSerializer());
 	serializers_.push_back(new CarbonsReceivedSerializer(this));
 	serializers_.push_back(new CarbonsSentSerializer(this));
 
-- 
cgit v0.10.2-6-g49f6