Commit e5cc51d6 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Fixed gcc 11 build

parent 93114a59
......@@ -279,7 +279,7 @@ void RemoteConferenceEventHandler::simpleNotifyReceived (const string &xmlBody)
}
if (state != StateType::deleted) {
for (const auto media : endpoint.getMedia()) {
for (const auto &media : endpoint.getMedia()) {
const std::string mediaType = media.getType().get();
const LinphoneMediaDirection mediaDirection = RemoteConferenceEventHandler::mediaStatusToMediaDirection(media.getStatus().get());
if (mediaType.compare("audio") == 0) {
......
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