mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Fix errors C2238, C2248 and C2059 on MSVC bots.
This CL fixes the following errors on MSVC bots: ../../rtc_base/units/unit_base_unittest.cc(42): error C2059: syntax error: '<' ../../rtc_base/units/unit_base_unittest.cc(42): error C2238: unexpected token(s) preceding ';' ../..\rtc_base/units/unit_base.h(39): error C2248: 'webrtc::`anonymous-namespace'::TestUnit::TestUnit': cannot access protected member declared in class 'webrtc::`anonymous-namespace'::TestUnit' No-Try: True Bug: None Change-Id: Ic63a75132107381474aca2e1d42ba96d1f6a1c00 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172621 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30972}
This commit is contained in:
parent
d335426a39
commit
cfa0e8ffe2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class TestUnit final : public rtc_units_impl::RelativeUnit<TestUnit> {
|
|||
}
|
||||
|
||||
private:
|
||||
friend class UnitBase<TestUnit>;
|
||||
friend class rtc_units_impl::UnitBase<TestUnit>;
|
||||
static constexpr bool one_sided = false;
|
||||
using RelativeUnit<TestUnit>::RelativeUnit;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue