summaryrefslogtreecommitdiffstats
path: root/media/webrtc/signaling/test/signaling_unittests.cpp
diff options
context:
space:
mode:
authortrav90 <travawine@openmailbox.org>2018-03-04 15:34:58 -0600
committertrav90 <travawine@openmailbox.org>2018-03-04 15:34:58 -0600
commit28b120018135438eaff8307f3cdef921a697d47a (patch)
treebdb7931fb2d33140bc20c1e50cc977e91d8a89c1 /media/webrtc/signaling/test/signaling_unittests.cpp
parent050973b503346c67f599b634983ffa579926ac4c (diff)
downloadUXP-28b120018135438eaff8307f3cdef921a697d47a.tar
UXP-28b120018135438eaff8307f3cdef921a697d47a.tar.gz
UXP-28b120018135438eaff8307f3cdef921a697d47a.tar.lz
UXP-28b120018135438eaff8307f3cdef921a697d47a.tar.xz
UXP-28b120018135438eaff8307f3cdef921a697d47a.zip
Fix some WebRTC tests to build with GCC 7.0.
Diffstat (limited to 'media/webrtc/signaling/test/signaling_unittests.cpp')
-rw-r--r--media/webrtc/signaling/test/signaling_unittests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/webrtc/signaling/test/signaling_unittests.cpp b/media/webrtc/signaling/test/signaling_unittests.cpp
index 27d4750c7..1b393a9f0 100644
--- a/media/webrtc/signaling/test/signaling_unittests.cpp
+++ b/media/webrtc/signaling/test/signaling_unittests.cpp
@@ -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