Add missing #include and deps to absl/memory
These files uses absl::WrapUnique or absl::make_unique without including absl/memory/memory.h. They used to include it indirectly via some other headers, but in C++17 mode, we need to include it explicitly. Bug: chromium:752720 Change-Id: Ic9a85a4844a71f8b8786c071f18d5b9cc301c26b Reviewed-on: https://webrtc-review.googlesource.com/c/105880 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Yves Gerey <yvesg@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Taiju Tsuiki <tzik@chromium.org> Cr-Commit-Position: refs/heads/master@{#25192}
This commit is contained in:
parent
1b26a0ae35
commit
f0e926fbdd
@ -169,6 +169,7 @@ rtc_source_set("test_dependency_factory") {
|
||||
deps = [
|
||||
":video_quality_test_fixture_api",
|
||||
"../rtc_base:thread_checker",
|
||||
"//third_party/abseil-cpp/absl/memory",
|
||||
]
|
||||
if (!build_with_chromium && is_clang) {
|
||||
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "absl/memory/memory.h"
|
||||
#include "api/test/test_dependency_factory.h"
|
||||
#include "rtc_base/thread_checker.h"
|
||||
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/memory/memory.h"
|
||||
#include "p2p/base/port.h"
|
||||
#include "p2p/base/stunrequest.h"
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "absl/memory/memory.h"
|
||||
#include "p2p/base/port.h"
|
||||
#include "p2p/base/stunrequest.h"
|
||||
#include "rtc_base/asyncpacketsocket.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "absl/memory/memory.h"
|
||||
#include "p2p/base/port.h"
|
||||
#include "rtc_base/asyncpacketsocket.h"
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/memory/memory.h"
|
||||
#include "p2p/base/port.h"
|
||||
#include "p2p/client/basicportallocator.h"
|
||||
#include "rtc_base/asyncinvoker.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user