Index: webrtc/video/end_to_end_tests.cc |
diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc |
index a4d70336030da62f427db29e2aa20aeb7f3c8c5a..f0cbf3e5c58f16bbcf8e7f143ca6fc599c373525 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -4278,9 +4278,13 @@ TEST_F(EndToEndTest, MAYBE_TestFlexfecRtpStatePreservation) { |
rtc::CriticalSection crit_; |
} observer; |
- constexpr int kFrameMaxWidth = 320; |
- constexpr int kFrameMaxHeight = 180; |
- constexpr int kFrameRate = 15; |
+ // These would have been declared as constexpr, but then some compilers |
+ // require them to be captured in the lambda, and other compilers complain |
+ // about no-ununused-lambda-capture. Keeping them as normal variables was |
+ // the easiest work-around. |
+ int kFrameMaxWidth = 320; |
+ int kFrameMaxHeight = 180; |
+ int kFrameRate = 15; |
kwiberg-webrtc
2017/08/23 11:35:59
const?
eladalon
2017/08/23 11:42:53
Similarly.
|
Call::Config config(event_log_.get()); |