mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
![]() The motivation for this is to not have to implement this pattern: foo.h: class Foo { public: Foo(); private: SequenceChecker checker_; }; foo.cc: Foo::Foo() { checker_.Detach(); } And instead be able to do this inline in the .h file: class Foo { public: Foo(); private: SequenceChecker checker_{SequenceChecker::kDetached}; }; Bug: none Change-Id: Idd7ca82d15c2f77f3aaccf26f1943a49f4b40661 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/298445 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39616} |
||
---|---|---|
.. | ||
BUILD.gn | ||
DEPS | ||
mutex.h | ||
mutex_abseil.h | ||
mutex_benchmark.cc | ||
mutex_critical_section.h | ||
mutex_pthread.h | ||
mutex_unittest.cc | ||
sequence_checker_internal.cc | ||
sequence_checker_internal.h | ||
yield.cc | ||
yield.h | ||
yield_policy.cc | ||
yield_policy.h | ||
yield_policy_unittest.cc |