Include correct ABSL_DECLARE_FLAG header.
The absl/flags/flag.h header is not #including absl/flags/declare.h starting from [1] so this transitive #include needs to be removed. [1] - https://chromium-review.googlesource.com/c/chromium/src/+/2228841 Bug: None Change-Id: I06e78ed05e0fb570a9ecc8621ec3ae5298fffd1a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176444 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31433}
This commit is contained in:
parent
447cd3e623
commit
5d511a5c0b
@ -10,6 +10,8 @@
|
||||
|
||||
#include "test/testsupport/resources_dir_flag.h"
|
||||
|
||||
#include "absl/flags/flag.h"
|
||||
|
||||
ABSL_FLAG(std::string,
|
||||
resources_dir,
|
||||
"",
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
#ifndef TEST_TESTSUPPORT_RESOURCES_DIR_FLAG_H__
|
||||
#define TEST_TESTSUPPORT_RESOURCES_DIR_FLAG_H__
|
||||
|
||||
#include "absl/flags/flag.h"
|
||||
#include "absl/flags/declare.h"
|
||||
|
||||
ABSL_DECLARE_FLAG(std::string, resources_dir);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user