Skip to content
Snippets Groups Projects
Commit 002320e0 authored by Adrien Béraud's avatar Adrien Béraud Committed by Alexandre Lision
Browse files

call: remove dead code

Tuleap: #13
Change-Id: Ic948160e96a0f5e232871863407fa920292318ac
parent 7f56822b
No related branches found
No related tags found
No related merge requests found
...@@ -265,20 +265,6 @@ Call::toggleRecording() ...@@ -265,20 +265,6 @@ Call::toggleRecording()
return startRecording; return startRecording;
} }
std::string Call::getTypeStr() const
{
switch (type_) {
case CallType::INCOMING:
return "incoming";
case CallType::OUTGOING:
return "outgoing";
case CallType::MISSED:
return "missed";
default:
return "";
}
}
std::map<std::string, std::string> std::map<std::string, std::string>
Call::getDetails() const Call::getDetails() const
{ {
......
...@@ -349,8 +349,6 @@ class Call : public Recordable, public std::enable_shared_from_this<Call> { ...@@ -349,8 +349,6 @@ class Call : public Recordable, public std::enable_shared_from_this<Call> {
private: private:
bool validStateTransition(CallState newState); bool validStateTransition(CallState newState);
std::string getTypeStr() const;
/** Protect every attribute that can be changed by two threads */ /** Protect every attribute that can be changed by two threads */
mutable std::recursive_mutex callMutex_ {}; mutable std::recursive_mutex callMutex_ {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment