commit | 5b8dc1dbad3cbc333d131de4b1e3a9e1f22ca3a1 | [log] [tgz] |
---|---|---|
author | Evan Shrubsole <eshr@webrtc.org> | Thu May 19 12:59:04 2022 +0200 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 20 10:38:20 2022 +0000 |
tree | 0f36f576aec38473bb8961c8d523fde497dc88c8 | |
parent | fa6ec692324b04b751b047653c616320bc25012d [diff] |
Add RTC_EXPORT to CurrentTaskQueueSetter This allows for its use in test targets in Chromium Windows, which fixes the compiled errors found in https://chromium-review.googlesource.com/c/chromium/src/+/3649679 Change-Id: I738b2eaab8eca73c40e847ede67ff5e7757ec512 Bug: None Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/262811 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36939}
diff --git a/api/task_queue/task_queue_base.h b/api/task_queue/task_queue_base.h index b7c92f8..c3e79b7 100644 --- a/api/task_queue/task_queue_base.h +++ b/api/task_queue/task_queue_base.h
@@ -130,7 +130,7 @@ bool IsCurrent() const { return Current() == this; } protected: - class CurrentTaskQueueSetter { + class RTC_EXPORT CurrentTaskQueueSetter { public: explicit CurrentTaskQueueSetter(TaskQueueBase* task_queue); CurrentTaskQueueSetter(const CurrentTaskQueueSetter&) = delete;