Commit 69da806f authored by Ronan Abhamon's avatar Ronan Abhamon

feat(src/components/call/CallModel): add assert when one instance is created

parent fc101bd8
......@@ -35,6 +35,7 @@
// =============================================================================
CallModel::CallModel (shared_ptr<linphone::Call> linphone_call) {
Q_ASSERT(linphone_call != nullptr);
m_linphone_call = linphone_call;
// Deal with auto-answer.
......
Markdown is supported
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