Commit 91fce6f2 authored by Jose Dapena Paz's avatar Jose Dapena Paz Committed by Commit Bot

IWYU: std::vector used in base/cpu.h requires vector include

Build with libstdc++ fails:
../../base/cpu.h:93:15: error: ‘vector’ in namespace ‘std’ does not name a template type
   93 |   static std::vector<CoreType> GuessCoreTypes();

Bug: 957519
Change-Id: I83808e1714146c6fa1dbefea205620c600b32e48
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339339Reviewed-by: default avatarWez <wez@chromium.org>
Commit-Queue: José Dapena Paz <jdapena@igalia.com>
Cr-Commit-Position: refs/heads/master@{#795393}
parent 5d138774
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <string> #include <string>
#include <tuple> #include <tuple>
#include <vector>
#include "base/base_export.h" #include "base/base_export.h"
#include "build/build_config.h" #include "build/build_config.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment