Fix some WebRTC tests to build with GCC 7.0.

This commit is contained in:
trav90 2018-03-04 15:34:58 -06:00 • committed by Roy Tam
commit ebf0f6c35a
2 changed files with 14 additions and 8 deletions

View file

@ -1475,8 +1475,8 @@ class SignalingAgent {
pObserver->addIceCandidateState = TestObserver::stateNoResponse;
pc->AddIceCandidate(candidate.c_str(), mid.c_str(), level);
ASSERT_TRUE(pObserver->addIceCandidateState ==
expectSuccess ? TestObserver::stateSuccess :
TestObserver::stateError
(expectSuccess ? TestObserver::stateSuccess :
TestObserver::stateError)
);
// Verify that adding ICE candidates does not change the signaling state