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
......@@ -265,20 +265,6 @@ Call::toggleRecording()
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>
Call::getDetails() const
{
......
......@@ -349,8 +349,6 @@ class Call : public Recordable, public std::enable_shared_from_this<Call> {
private:
bool validStateTransition(CallState newState);
std::string getTypeStr() const;
/** Protect every attribute that can be changed by two threads */
mutable std::recursive_mutex callMutex_ {};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment