From 2ac9603c1cd1e08ee3dbec12a3493acd41aa0bb8 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <tristan.matthews@savoirfairelinux.com>
Date: Tue, 14 Jun 2011 17:31:45 -0400
Subject: [PATCH] * #6148: removed unused AudioRtpFactory constructor

---
 .../src/audio/audiortp/AudioRtpFactory.cpp            | 11 -----------
 sflphone-common/src/audio/audiortp/AudioRtpFactory.h  |  1 -
 2 files changed, 12 deletions(-)

diff --git a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp
index c41a2fc07e..6499f07064 100644
--- a/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp
+++ b/sflphone-common/src/audio/audiortp/AudioRtpFactory.cpp
@@ -50,17 +50,6 @@ AudioRtpFactory::AudioRtpFactory() : _rtpSession (NULL), remoteContext(NULL), lo
 
 }
 
-AudioRtpFactory::AudioRtpFactory (SIPCall *ca) : _rtpSession (NULL)
-{
-    assert (ca);
-
-    try {
-        initAudioRtpSession (ca);
-    } catch (UnsupportedRtpSessionType& exception) {
-        throw exception;
-    }
-}
-
 AudioRtpFactory::~AudioRtpFactory()
 {
     stop();
diff --git a/sflphone-common/src/audio/audiortp/AudioRtpFactory.h b/sflphone-common/src/audio/audiortp/AudioRtpFactory.h
index b1fb1f0a6f..28329d0d59 100644
--- a/sflphone-common/src/audio/audiortp/AudioRtpFactory.h
+++ b/sflphone-common/src/audio/audiortp/AudioRtpFactory.h
@@ -84,7 +84,6 @@ class AudioRtpFactory
 {
     public:
         AudioRtpFactory();
-        AudioRtpFactory (SIPCall * ca);
         ~AudioRtpFactory();
 
         void initAudioRtpConfig (SIPCall *ca);
-- 
GitLab